Cleanup some problems with LLVM_ENABLE_DUMP in release builds, and
always set LLVM_ENABLE_DUMP=ON for +Asserts builds. Differential Revision: https://reviews.llvm.org/D38306 llvm-svn: 314346
This commit is contained in:
@@ -355,7 +355,7 @@ public:
|
||||
|
||||
} // end anonymous namespace
|
||||
|
||||
#ifndef NDEBUG
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
static void printDebugLoc(const DebugLoc &DL, raw_ostream &CommentOS,
|
||||
const LLVMContext &Ctx) {
|
||||
if (!DL)
|
||||
|
||||
Reference in New Issue
Block a user