1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

MCJIT relocation resolution.

llvm-svn: 129445
This commit is contained in:
Jim Grosbach 2011-04-13 15:28:10 +00:00
parent e188ff81dd
commit 222045c063

View File

@ -93,6 +93,8 @@ MCJIT::MCJIT(Module *m, TargetMachine *tm, TargetJITInfo &tji,
Buffer.size())); Buffer.size()));
if (Dyld.loadObject(MB)) if (Dyld.loadObject(MB))
report_fatal_error(Dyld.getErrorString()); report_fatal_error(Dyld.getErrorString());
// Resolve any relocations.
Dyld.resolveRelocations();
} }
MCJIT::~MCJIT() { MCJIT::~MCJIT() {