[Lldb-commits] [lldb] r279327 - [lldb] Use OrcMCJITReplacement rather than MCJIT as the underlying JIT for LLDB
Lang Hames via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 19 14:27:16 PDT 2016
Author: lhames
Date: Fri Aug 19 16:27:16 2016
New Revision: 279327
URL: http://llvm.org/viewvc/llvm-project?rev=279327&view=rev
Log:
[lldb] Use OrcMCJITReplacement rather than MCJIT as the underlying JIT for LLDB
expression evaluation.
OrcMCJITReplacement is a reimplementation of MCJIT using ORC components, and
provides an easy upgrade path to ORC for existing MCJIT clients. There should be
no functional changes resulting from this switch.
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=279327&r1=279326&r2=279327&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRExecutionUnit.cpp (original)
+++ lldb/trunk/source/Expression/IRExecutionUnit.cpp Fri Aug 19 16:27:16 2016
@@ -308,7 +308,8 @@ IRExecutionUnit::GetRunnableInfo(Error &
.setRelocationModel(relocModel)
.setMCJITMemoryManager(std::unique_ptr<MemoryManager>(new MemoryManager(*this)))
.setCodeModel(codeModel)
- .setOptLevel(llvm::CodeGenOpt::Less);
+ .setOptLevel(llvm::CodeGenOpt::Less)
+ .setUseOrcMCJITReplacement(true);
llvm::StringRef mArch;
llvm::StringRef mCPU;
More information about the lldb-commits
mailing list