projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899cab6
)
Fix NDEBUG build.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 27 May 2015 15:18:34 +0000
(15:18 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Wed, 27 May 2015 15:18:34 +0000
(15:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238332
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCSection.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCSection.cpp
b/lib/MC/MCSection.cpp
index 26c6aad557fcfea2348b954f102ce47bf4cf19c1..04f932bfeec07903c7786f185a4c7edb50f07c2b 100644
(file)
--- a/
lib/MC/MCSection.cpp
+++ b/
lib/MC/MCSection.cpp
@@
-84,6
+84,7
@@
MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
return IP;
}
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
void MCSection::dump() {
raw_ostream &OS = llvm::errs();
@@
-96,6
+97,7
@@
void MCSection::dump() {
}
OS << "]>";
}
+#endif
MCSection::iterator MCSection::begin() { return Fragments.begin(); }