summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-09-12 05:06:18 +0000
committerManman Ren <mren@apple.com>2012-09-12 05:06:18 +0000
commit49d684e1e2d044f1c2156bbddd3d621e7bd405e9 (patch)
tree0cfdbde1e0bd09031a04ee151212f48ee5fc2286 /llvm/lib/MC/MCDwarf.cpp
parent8ff00989fc14b2e85f8d81a94195e98e9ca243f0 (diff)
downloadbcm5719-llvm-49d684e1e2d044f1c2156bbddd3d621e7bd405e9.tar.gz
bcm5719-llvm-49d684e1e2d044f1c2156bbddd3d621e7bd405e9.zip
Release build: guard dump functions with
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163344. llvm-svn: 163679
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r--llvm/lib/MC/MCDwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp
index 96938f76261..f71b266ad63 100644
--- a/llvm/lib/MC/MCDwarf.cpp
+++ b/llvm/lib/MC/MCDwarf.cpp
@@ -425,7 +425,7 @@ void MCDwarfFile::print(raw_ostream &OS) const {
OS << '"' << getName() << '"';
}
-#ifndef NDEBUG
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCDwarfFile::dump() const {
print(dbgs());
}
OpenPOWER on IntegriCloud