[Lldb-commits] [lldb] r223196 - Update setMCJITMemoryManager call to keep in line with llvm r223183.
Jason Molenda
jmolenda at apple.com
Tue Dec 2 20:02:04 PST 2014
Author: jmolenda
Date: Tue Dec 2 22:02:03 2014
New Revision: 223196
URL: http://llvm.org/viewvc/llvm-project?rev=223196&view=rev
Log:
Update setMCJITMemoryManager call to keep in line with llvm r223183.
Patch from Ryan Goodfellow.
Modified:
lldb/trunk/source/Expression/IRExecutionUnit.cpp
Modified: lldb/trunk/source/Expression/IRExecutionUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRExecutionUnit.cpp?rev=223196&r1=223195&r2=223196&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRExecutionUnit.cpp (original)
+++ lldb/trunk/source/Expression/IRExecutionUnit.cpp Tue Dec 2 22:02:03 2014
@@ -309,7 +309,7 @@ IRExecutionUnit::GetRunnableInfo(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);
More information about the lldb-commits
mailing list