diff options
author | Lang Hames <lhames@gmail.com> | 2018-10-23 23:01:39 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-10-23 23:01:39 +0000 |
commit | 23cb2e7f7705eea783a8202afe27623eb4e0108e (patch) | |
tree | 6f414ab4059f0d452fa568b8e3f992884564d546 /llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp | |
parent | 7c6344a64f82b6e13ed948ce22f73c4c150f8a4f (diff) | |
download | bcm5719-llvm-23cb2e7f7705eea783a8202afe27623eb4e0108e.tar.gz bcm5719-llvm-23cb2e7f7705eea783a8202afe27623eb4e0108e.zip |
[ORC] Re-apply r345077 with fixes to remove ambiguity in lookup calls.
llvm-svn: 345098
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp b/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp index af4c508d7f1..55f4a7c5afc 100644 --- a/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp +++ b/llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp @@ -52,8 +52,8 @@ LazyCallThroughManager::callThroughToSymbol(JITTargetAddress TrampolineAddr) { SymbolName = I->second.second; } - auto LookupResult = ES.lookup({SourceJD}, {SymbolName}, - NoDependenciesToRegister, true, nullptr, true); + auto LookupResult = ES.lookup(JITDylibSearchList({{SourceJD, true}}), + {SymbolName}, NoDependenciesToRegister, true); if (!LookupResult) { ES.reportError(LookupResult.takeError()); |