[llvm] 92250ec - [examples] Fix the SpeculativeJIT example for 85fb997659b.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 19:06:46 PST 2020
Author: Lang Hames
Date: 2020-02-19T19:06:15-08:00
New Revision: 92250ec270e1b0ed9f25ddaa224b5cbda9afc686
URL: https://github.com/llvm/llvm-project/commit/92250ec270e1b0ed9f25ddaa224b5cbda9afc686
DIFF: https://github.com/llvm/llvm-project/commit/92250ec270e1b0ed9f25ddaa224b5cbda9afc686.diff
LOG: [examples] Fix the SpeculativeJIT example for 85fb997659b.
Added:
Modified:
llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
Removed:
################################################################################
diff --git a/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp b/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
index 0c986d5a3f1c..c12dcd50dcac 100644
--- a/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
+++ b/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
@@ -102,7 +102,7 @@ class SpeculativeJIT {
IndirectStubsManagerBuilderFunction ISMBuilder,
std::unique_ptr<DynamicLibrarySearchGenerator> ProcessSymbolsGenerator)
: ES(std::move(ES)), DL(std::move(DL)),
- MainJD(this->ES->createJITDylib("<main>")), LCTMgr(std::move(LCTMgr)),
+ MainJD(this->ES->createBareJITDylib("<main>")), LCTMgr(std::move(LCTMgr)),
CompileLayer(*this->ES, ObjLayer,
std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))),
S(Imps, *this->ES),
More information about the llvm-commits
mailing list