From b313e46cc6e287376532154b7d763c90282e48e4 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Thu, 4 Dec 2014 21:26:25 +0000 Subject: [PATCH] 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. llvm-svn: 223388 --- lldb/source/Expression/IRExecutionUnit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp index 8fdb310..e7cb728 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(new MemoryManager(*this))) .setCodeModel(codeModel) .setOptLevel(llvm::CodeGenOpt::Less); -- 2.7.4