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:
parent
e188ff81dd
commit
222045c063
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user