[PATCH] D30367: CodeGen : Check LLVM_ENABLE_DUMP definition for dumpMachineInstrRangeWithSlotIndex.

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 07:39:55 PST 2017


bkramer added a comment.

This will get you an unused function warning if NDEBUG && LLVM_ENABLE_DUMP. You can use LLVM_DUMP_METHOD to avoid that.


https://reviews.llvm.org/D30367





More information about the llvm-commits mailing list