mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[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
This commit is contained in:
parent
8cf25fbd15
commit
0a8073389f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user