forked from OSchip/llvm-project
parent
798679e140
commit
fca968e13d
|
@ -436,9 +436,8 @@ void RuntimeDyldImpl::resolveExternalSymbols() {
|
||||||
// This is an absolute symbol, use an address of zero.
|
// This is an absolute symbol, use an address of zero.
|
||||||
DEBUG(dbgs() << "Resolving absolute relocations." << "\n");
|
DEBUG(dbgs() << "Resolving absolute relocations." << "\n");
|
||||||
resolveRelocationList(Relocs, 0);
|
resolveRelocationList(Relocs, 0);
|
||||||
}
|
} else {
|
||||||
else {
|
// This is an external symbol, try to get its address from
|
||||||
// This is an external symbol, try to get it address from
|
|
||||||
// MemoryManager.
|
// MemoryManager.
|
||||||
uint8_t *Addr = (uint8_t*) MemMgr->getPointerToNamedFunction(Name.data(),
|
uint8_t *Addr = (uint8_t*) MemMgr->getPointerToNamedFunction(Name.data(),
|
||||||
true);
|
true);
|
||||||
|
|
Loading…
Reference in New Issue