aboutsummaryrefslogtreecommitdiff
path: root/clang/examples
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-10-16 09:21:58 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-10-16 09:21:58 +0000
commitc858748c9b566f684f17d598dbc2effd335a8566 (patch)
tree968737c134f1309e69d7773f70e92de240226d8b /clang/examples
parente75b6d78e0f90c1bdcf16d59fdacbbc0ffe6ec4a (diff)
downloadllvm-c858748c9b566f684f17d598dbc2effd335a8566.zip
llvm-c858748c9b566f684f17d598dbc2effd335a8566.tar.gz
llvm-c858748c9b566f684f17d598dbc2effd335a8566.tar.bz2
Fix buildbots - update clang-interpreter to use Legacy ORC classes introduced in rL344572.
llvm-svn: 344598
Diffstat (limited to 'clang/examples')
-rw-r--r--clang/examples/clang-interpreter/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/examples/clang-interpreter/main.cpp b/clang/examples/clang-interpreter/main.cpp
index 5a8dcbd..1c83b1d 100644
--- a/clang/examples/clang-interpreter/main.cpp
+++ b/clang/examples/clang-interpreter/main.cpp
@@ -54,8 +54,8 @@ private:
std::shared_ptr<SymbolResolver> Resolver;
std::unique_ptr<TargetMachine> TM;
const DataLayout DL;
- RTDyldObjectLinkingLayer ObjectLayer;
- IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer;
+ LegacyRTDyldObjectLinkingLayer ObjectLayer;
+ LegacyIRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer;
public:
SimpleJIT()
@@ -75,7 +75,7 @@ public:
TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()),
ObjectLayer(ES,
[this](VModuleKey) {
- return RTDyldObjectLinkingLayer::Resources{
+ return LegacyRTDyldObjectLinkingLayer::Resources{
std::make_shared<SectionMemoryManager>(), Resolver};
}),
CompileLayer(ObjectLayer, SimpleCompiler(*TM)) {