diff options
author | Zachary Turner <zturner@google.com> | 2014-08-07 23:26:01 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-08-07 23:26:01 +0000 |
commit | d867520d0b6a6c7354f1a47302f70a1da83f72c7 (patch) | |
tree | 1895346c5ae6bb0e406eadd73f0cad05adcc9808 /lldb/source/Expression/IRExecutionUnit.cpp | |
parent | ea96a3d3361326ee1707f0785bbc4c0207acd8de (diff) | |
download | bcm5719-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.cpp | 4 |
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; |