MCJIT relocation resolution.

llvm-svn: 129445
This commit is contained in:
Jim Grosbach 2011-04-13 15:28:10 +00:00
parent e2a114791c
commit 956de1ff66
1 changed files with 2 additions and 0 deletions

View File

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