summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-07-22 23:50:51 +0000
committerLang Hames <lhames@gmail.com>2014-07-22 23:50:51 +0000
commit17e6b9e5ab404eddf2e58cdcfd7a4c8bc472da6e (patch)
treeb4753712648a14d0d23b2c0f28b561ebbd840ac1 /llvm/lib/ExecutionEngine
parent015d818b59dbdadc2726adc6132be1b3da4d6387 (diff)
downloadbcm5719-llvm-17e6b9e5ab404eddf2e58cdcfd7a4c8bc472da6e.tar.gz
bcm5719-llvm-17e6b9e5ab404eddf2e58cdcfd7a4c8bc472da6e.zip
[MCJIT] Make stub_addr functionality in RuntimeDyldChecker work in release mode.
There's no reason to restrict this particular piece of RuntimeDyldChecker functionality to +Asserts builds. This should fix failures in MachO_x86-64_PIC_relocations.s on release bots. llvm-svn: 213708
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index 7434c2a0666..810fbfff2f5 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -206,12 +206,10 @@ ObjectImage *RuntimeDyldImpl::loadObject(ObjectImage *InputObject) {
I = processRelocationRef(SectionID, I, *Obj, LocalSections, LocalSymbols,
Stubs);
-#ifndef NDEBUG
// If there is an attached checker, notify it about the stubs for this
// section so that they can be verified.
if (Checker)
Checker->registerStubMap(Obj->getImageName(), SectionID, Stubs);
-#endif
}
// Give the subclasses a chance to tie-up any loose ends.
OpenPOWER on IntegriCloud