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;


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to