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:
Don Hinton
2017-09-27 21:19:56 +00:00
parent 23fa4de2db
commit 53eb637115
10 changed files with 15 additions and 15 deletions

View File

@@ -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)