summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Option/Arg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Option/Arg.cpp')
-rw-r--r--llvm/lib/Option/Arg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Option/Arg.cpp b/llvm/lib/Option/Arg.cpp
index 17597f6a4fe..e581fee8bf3 100644
--- a/llvm/lib/Option/Arg.cpp
+++ b/llvm/lib/Option/Arg.cpp
@@ -61,7 +61,7 @@ void Arg::print(raw_ostream& O) const {
O << "]>\n";
}
-#ifdef LLVM_ENABLE_DUMP
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void Arg::dump() const { print(dbgs()); }
#endif
OpenPOWER on IntegriCloud