diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index d5c683c579e..701428f5ef9 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/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() {