[Lldb-commits] [lldb] r223388 - Revert "Fix a build breakage. Looks like the LLVM side of this change has been reverted"
David Majnemer
david.majnemer at gmail.com
Thu Dec 4 13:26:25 PST 2014
Author: majnemer
Date: Thu Dec 4 15:26:25 2014
New Revision: 223388
URL: http://llvm.org/viewvc/llvm-project?rev=223388&view=rev
Log:
Revert "Fix a build breakage. Looks like the LLVM side of this change has been reverted"
This reverts commit r223375. We need to use unique_ptr to build with
LLVM r223183.
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=223388&r1=223387&r2=223388&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRExecutionUnit.cpp (original)
+++ lldb/trunk/source/Expression/IRExecutionUnit.cpp Thu Dec 4 15:26:25 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