diff options
author | Lang Hames <lhames@gmail.com> | 2018-01-19 01:40:26 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-01-19 01:40:26 +0000 |
commit | 44efd042a2b2f55a17ecc85fb5646dde3bdeb557 (patch) | |
tree | 242498ebc3216fff74a23cc687b0ec4ab45f8419 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 817df9fa0c482e8fb5ead383e762c6f228705519 (diff) | |
download | bcm5719-llvm-44efd042a2b2f55a17ecc85fb5646dde3bdeb557.tar.gz bcm5719-llvm-44efd042a2b2f55a17ecc85fb5646dde3bdeb557.zip |
[ORC] Revert r322913 while I investigate an ASan failure.
llvm-svn: 322914
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index e4efc15f2ae..233ece29422 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -49,13 +49,14 @@ STATISTIC(NumGlobals , "Number of global vars initialized"); ExecutionEngine *(*ExecutionEngine::MCJITCtor)( std::unique_ptr<Module> M, std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr, - std::shared_ptr<LegacyJITSymbolResolver> Resolver, + + std::shared_ptr<JITSymbolResolver> Resolver, std::unique_ptr<TargetMachine> TM) = nullptr; ExecutionEngine *(*ExecutionEngine::OrcMCJITReplacementCtor)( - std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr, - std::shared_ptr<LegacyJITSymbolResolver> Resolver, - std::unique_ptr<TargetMachine> TM) = nullptr; + std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr, + std::shared_ptr<JITSymbolResolver> Resolver, + std::unique_ptr<TargetMachine> TM) = nullptr; ExecutionEngine *(*ExecutionEngine::InterpCtor)(std::unique_ptr<Module> M, std::string *ErrorStr) =nullptr; @@ -501,9 +502,9 @@ EngineBuilder::setMemoryManager(std::unique_ptr<MCJITMemoryManager> MM) { return *this; } -EngineBuilder & -EngineBuilder::setSymbolResolver(std::unique_ptr<LegacyJITSymbolResolver> SR) { - Resolver = std::shared_ptr<LegacyJITSymbolResolver>(std::move(SR)); +EngineBuilder& +EngineBuilder::setSymbolResolver(std::unique_ptr<JITSymbolResolver> SR) { + Resolver = std::shared_ptr<JITSymbolResolver>(std::move(SR)); return *this; } |