OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a90a650
)
Update clang-interpreter example to incorporate changes in ce2207abaf9.
author
Lang Hames
<lhames@gmail.com>
Wed, 22 Jan 2020 06:00:17 +0000
(22:00 -0800)
committer
Lang Hames
<lhames@gmail.com>
Wed, 22 Jan 2020 06:00:50 +0000
(22:00 -0800)
clang/examples/clang-interpreter/main.cpp
patch
|
blob
|
history
diff --git
a/clang/examples/clang-interpreter/main.cpp
b/clang/examples/clang-interpreter/main.cpp
index
db6b0cc
..
c0aae47
100644
(file)
--- a/
clang/examples/clang-interpreter/main.cpp
+++ b/
clang/examples/clang-interpreter/main.cpp
@@
-56,7
+56,8
@@
private:
MangleAndInterner Mangle{ES, DL};
JITDylib &MainJD{ES.createJITDylib("<main>")};
RTDyldObjectLinkingLayer ObjectLayer{ES, createMemMgr};
- IRCompileLayer CompileLayer{ES, ObjectLayer, SimpleCompiler(*TM)};
+ IRCompileLayer CompileLayer{ES, ObjectLayer,
+ std::make_unique<SimpleCompiler>(*TM)};
static std::unique_ptr<SectionMemoryManager> createMemMgr() {
return std::make_unique<SectionMemoryManager>();