forked from OSchip/llvm-project
[examples] Fix the clang-interpreter example for changes in 85fb997659
.
This commit is contained in:
parent
c6ac717aa7
commit
490a9a4b77
|
@ -54,7 +54,7 @@ private:
|
|||
std::unique_ptr<TargetMachine> TM;
|
||||
const DataLayout DL;
|
||||
MangleAndInterner Mangle{ES, DL};
|
||||
JITDylib &MainJD{ES.createJITDylib("<main>")};
|
||||
JITDylib &MainJD{ES.createBareJITDylib("<main>")};
|
||||
RTDyldObjectLinkingLayer ObjectLayer{ES, createMemMgr};
|
||||
IRCompileLayer CompileLayer{ES, ObjectLayer,
|
||||
std::make_unique<SimpleCompiler>(*TM)};
|
||||
|
|
Loading…
Reference in New Issue