summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCLabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/MC/MCLabel.cpp')
-rw-r--r--llvm/lib/MC/MCLabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCLabel.cpp b/llvm/lib/MC/MCLabel.cpp
index 1f460e76340..db25a46fce1 100644
--- a/llvm/lib/MC/MCLabel.cpp
+++ b/llvm/lib/MC/MCLabel.cpp
@@ -18,7 +18,7 @@ void MCLabel::print(raw_ostream &OS) const {
OS << '"' << getInstance() << '"';
}
-#ifdef LLVM_ENABLE_DUMP
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void MCLabel::dump() const {
print(dbgs());
}
OpenPOWER on IntegriCloud