[examples] Fix the clang-interpreter example for changes in 85fb997659.

This commit is contained in:
Lang Hames 2020-02-19 19:00:35 -08:00
parent c6ac717aa7
commit 490a9a4b77
1 changed files with 1 additions and 1 deletions

View File

@ -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)};