diff options
author | Reid Kleckner <rnk@google.com> | 2018-07-20 20:20:45 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-07-20 20:20:45 +0000 |
commit | 7ed83591c2e33a008bdd1393892fadc080786fd0 (patch) | |
tree | 9669d722cf39e6a1884dc653edbec599af751fed /llvm/lib/ExecutionEngine/Orc/Legacy.cpp | |
parent | 1b2bc604f867842fe378938782be37b913617f5c (diff) | |
download | bcm5719-llvm-7ed83591c2e33a008bdd1393892fadc080786fd0.tar.gz bcm5719-llvm-7ed83591c2e33a008bdd1393892fadc080786fd0.zip |
Revert r337595 "[ORC] Add new symbol lookup methods to ExecutionSessionBase in preparation for"
Breaks the build with LLVM_ENABLE_THREADS=OFF.
llvm-svn: 337608
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/Legacy.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Legacy.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Legacy.cpp b/llvm/lib/ExecutionEngine/Orc/Legacy.cpp index 22775ef14f8..6fde6898a16 100644 --- a/llvm/lib/ExecutionEngine/Orc/Legacy.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Legacy.cpp @@ -29,14 +29,8 @@ JITSymbolResolverAdapter::lookup(const LookupSet &Symbols) { return R.lookup(std::move(Q), std::move(Unresolved)); }; - auto RegisterDependencies = [&](const SymbolDependenceMap &Deps) { - if (MR) - MR->addDependencies(Deps); - }; - - auto InternedResult = - ES.legacyLookup(ES, std::move(LookupFn), std::move(InternedSymbols), - false, RegisterDependencies); + auto InternedResult = blockingLookup(ES, std::move(LookupFn), + std::move(InternedSymbols), false, MR); if (!InternedResult) return InternedResult.takeError(); |