diff options
| author | Lang Hames <lhames@gmail.com> | 2016-08-19 21:27:16 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2016-08-19 21:27:16 +0000 |
| commit | 6377aa1cb1bb16f557f63368ee0bb0ecdee69bde (patch) | |
| tree | 75e52398996ca6f4296572af88aeb2eb2fb194a4 /lldb/source/Expression/IRExecutionUnit.cpp | |
| parent | b5e0f5ac953243829d52aaa0bab65899810b880b (diff) | |
| download | bcm5719-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.cpp | 3 |
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; |

