mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Simplify / normalize some uses of Value::getName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -993,7 +993,7 @@ void ExecutionEngine::emitGlobals() {
|
||||
// External variable reference. Try to use the dynamic loader to
|
||||
// get a pointer to it.
|
||||
if (void *SymAddr =
|
||||
sys::DynamicLibrary::SearchForAddressOfSymbol(I->getName().c_str()))
|
||||
sys::DynamicLibrary::SearchForAddressOfSymbol(I->getName()))
|
||||
addGlobalMapping(I, SymAddr);
|
||||
else {
|
||||
llvm_report_error("Could not resolve external global address: "
|
||||
|
Reference in New Issue
Block a user