summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-08-26 14:22:05 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-08-26 14:22:05 +0000
commit01e1789d38487b73619d70e6efc92261f2ec4ae1 (patch)
tree08206a4c1628c4d179acef6c13cd6bfd527fd47b
parentcc7f4aa2a702d0947e2f9d26680902b6f440685f (diff)
downloadbcm5719-llvm-01e1789d38487b73619d70e6efc92261f2ec4ae1.tar.gz
bcm5719-llvm-01e1789d38487b73619d70e6efc92261f2ec4ae1.zip
Silence unused function warning in Release builds.
llvm-svn: 216458
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index d5c683c579e..701428f5ef9 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -41,6 +41,7 @@ void RuntimeDyldImpl::registerEHFrames() {}
void RuntimeDyldImpl::deregisterEHFrames() {}
+#ifndef NDEBUG
static void dumpSectionMemory(const SectionEntry &S, StringRef State) {
dbgs() << "----- Contents of section " << S.Name << " " << State << " -----";
@@ -71,6 +72,7 @@ static void dumpSectionMemory(const SectionEntry &S, StringRef State) {
dbgs() << "\n";
}
+#endif
// Resolve the relocations for all symbols we currently know about.
void RuntimeDyldImpl::resolveRelocations() {
OpenPOWER on IntegriCloud