summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRExecutionUnit.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-08-19 21:27:16 +0000
committerLang Hames <lhames@gmail.com>2016-08-19 21:27:16 +0000
commit6377aa1cb1bb16f557f63368ee0bb0ecdee69bde (patch)
tree75e52398996ca6f4296572af88aeb2eb2fb194a4 /lldb/source/Expression/IRExecutionUnit.cpp
parentb5e0f5ac953243829d52aaa0bab65899810b880b (diff)
downloadbcm5719-llvm-6377aa1cb1bb16f557f63368ee0bb0ecdee69bde.tar.gz
bcm5719-llvm-6377aa1cb1bb16f557f63368ee0bb0ecdee69bde.zip
[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. llvm-svn: 279327
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
-rw-r--r--lldb/source/Expression/IRExecutionUnit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp
index 103d76328c3..dc4b792e474 100644
--- a/lldb/source/Expression/IRExecutionUnit.cpp
+++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -308,7 +308,8 @@ IRExecutionUnit::GetRunnableInfo(Error &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;
OpenPOWER on IntegriCloud