summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRExecutionUnit.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-12-03 04:02:03 +0000
committerJason Molenda <jmolenda@apple.com>2014-12-03 04:02:03 +0000
commit286fd1aaac1aec5dd2530fd21e370ccdc48e1bec (patch)
treedd3a2e0c734418fe2177f5ebdea1f3a860ce0792 /lldb/source/Expression/IRExecutionUnit.cpp
parentfcefcf96e357c9d6567e73f736b481834acdcf56 (diff)
downloadbcm5719-llvm-286fd1aaac1aec5dd2530fd21e370ccdc48e1bec.tar.gz
bcm5719-llvm-286fd1aaac1aec5dd2530fd21e370ccdc48e1bec.zip
Update setMCJITMemoryManager call to keep in line with llvm r223183.
Patch from Ryan Goodfellow. llvm-svn: 223196
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
-rw-r--r--lldb/source/Expression/IRExecutionUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp
index 8fdb3109298..e7cb728778e 100644
--- a/lldb/source/Expression/IRExecutionUnit.cpp
+++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -309,7 +309,7 @@ IRExecutionUnit::GetRunnableInfo(Error &error,
builder.setEngineKind(llvm::EngineKind::JIT)
.setErrorStr(&error_string)
.setRelocationModel(relocModel)
- .setMCJITMemoryManager(new MemoryManager(*this))
+ .setMCJITMemoryManager(std::unique_ptr<MemoryManager>(new MemoryManager(*this)))
.setCodeModel(codeModel)
.setOptLevel(llvm::CodeGenOpt::Less);
OpenPOWER on IntegriCloud