diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-12-04 21:26:25 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-12-04 21:26:25 +0000 |
commit | b313e46cc6e287376532154b7d763c90282e48e4 (patch) | |
tree | 879630d0c109ead5bbc61ba122dfc047f6f9d28f /lldb/source/Expression/IRExecutionUnit.cpp | |
parent | 217cf22cf64cc32430e782addff6d2fe71a7f874 (diff) | |
download | bcm5719-llvm-b313e46cc6e287376532154b7d763c90282e48e4.tar.gz bcm5719-llvm-b313e46cc6e287376532154b7d763c90282e48e4.zip |
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
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
-rw-r--r-- | lldb/source/Expression/IRExecutionUnit.cpp | 2 |
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); |