summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRExecutionUnit.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-08-07 23:26:01 +0000
committerZachary Turner <zturner@google.com>2014-08-07 23:26:01 +0000
commitd867520d0b6a6c7354f1a47302f70a1da83f72c7 (patch)
tree1895346c5ae6bb0e406eadd73f0cad05adcc9808 /lldb/source/Expression/IRExecutionUnit.cpp
parentea96a3d3361326ee1707f0785bbc4c0207acd8de (diff)
downloadbcm5719-llvm-d867520d0b6a6c7354f1a47302f70a1da83f72c7.tar.gz
bcm5719-llvm-d867520d0b6a6c7354f1a47302f70a1da83f72c7.zip
Revert "Fix the build broken as a result of deleting jit from LLVM."
jit was re-added back to LLVM, so now we require to link against it again. Should it get removed again, then revert this revert. llvm-svn: 215170
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
-rw-r--r--lldb/source/Expression/IRExecutionUnit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp
index fb8ea1a3587..76956082da0 100644
--- a/lldb/source/Expression/IRExecutionUnit.cpp
+++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -302,7 +302,9 @@ IRExecutionUnit::GetRunnableInfo(Error &error,
.setRelocationModel(relocModel)
.setJITMemoryManager(new MemoryManager(*this))
.setOptLevel(llvm::CodeGenOpt::Less)
- .setCodeModel(codeModel);
+ .setAllocateGVsWithCode(true)
+ .setCodeModel(codeModel)
+ .setUseMCJIT(true);
llvm::StringRef mArch;
llvm::StringRef mCPU;
OpenPOWER on IntegriCloud