mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
MCJIT relocation resolution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2475e8ece
commit
69e813282d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user