This makes check failures much easier to understand.
Make it empty (but leave it in the class) for NDEBUG builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| include/llvm/CodeGen/MachineFunction.h | ||
|---|---|---|
| 146 ↗ | (On Diff #51856) | Short story, rename dump -> print. The convention is to have dump to be available only in debug build, but more importantly to have it to print on dbgs(). |
| lib/CodeGen/MachineFunction.cpp | ||
| 396 ↗ | (On Diff #51856) | print calls print, not dump. |