mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
[examples] Fix the clang-interpreter example for changes in 85fb997659.
This commit is contained in:
@@ -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)};
|
||||
|
||||
Reference in New Issue
Block a user