Author: Lang Hames Date: 2020-02-19T19:01:32-08:00 New Revision: 490a9a4b77ea23f388cae67d732af6bd8aa576f9
URL: https://github.com/llvm/llvm-project/commit/490a9a4b77ea23f388cae67d732af6bd8aa576f9 DIFF: https://github.com/llvm/llvm-project/commit/490a9a4b77ea23f388cae67d732af6bd8aa576f9.diff LOG: [examples] Fix the clang-interpreter example for changes in 85fb997659b. Added: Modified: clang/examples/clang-interpreter/main.cpp Removed: ################################################################################ diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp index c0aae4722306..6b4cdca15fb0 100644 --- a/clang/examples/clang-interpreter/main.cpp +++ b/clang/examples/clang-interpreter/main.cpp @@ -54,7 +54,7 @@ class SimpleJIT { 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)}; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits