[PATCH] D35949: Guard print() functions only used by dump() functions.

don hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 08:50:22 PDT 2017


hintonda added inline comments.


================
Comment at: lib/CodeGen/LiveDebugVariables.cpp:354
 
 static void printExtendedName(raw_ostream &OS, const DILocalVariable *V,
                               const DILocation *DL) {
----------------
Since this is only called when NDEBUG is not defined, #ifndef NDEBUG should be moved here to fix buildbot failures.


https://reviews.llvm.org/D35949





More information about the llvm-commits mailing list