aboutsummaryrefslogtreecommitdiff
path: root/clang/examples/clang-interpreter/main.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-02-19 19:00:35 -0800
committerLang Hames <lhames@gmail.com>2020-02-19 19:01:32 -0800
commit490a9a4b77ea23f388cae67d732af6bd8aa576f9 (patch)
treea4e48fd37c9ac35b7ed584ed4164550453f6a386 /clang/examples/clang-interpreter/main.cpp
parentc6ac717aa70d3f31c0a4fd6385e8baaa9f3e2724 (diff)
downloadllvm-490a9a4b77ea23f388cae67d732af6bd8aa576f9.zip
llvm-490a9a4b77ea23f388cae67d732af6bd8aa576f9.tar.gz
llvm-490a9a4b77ea23f388cae67d732af6bd8aa576f9.tar.bz2
[examples] Fix the clang-interpreter example for changes in 85fb997659b.
Diffstat (limited to 'clang/examples/clang-interpreter/main.cpp')
-rw-r--r--clang/examples/clang-interpreter/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp
index c0aae47..6b4cdca 100644
--- a/clang/examples/clang-interpreter/main.cpp
+++ b/clang/examples/clang-interpreter/main.cpp
@@ -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)};