From 0a8073389f60b4c1a30f87377fd3f6f2424c83e2 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 22 Jul 2014 23:50:51 +0000 Subject: [PATCH] [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 --- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index 7434c2a0666..810fbfff2f5 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/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.