From d867520d0b6a6c7354f1a47302f70a1da83f72c7 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 7 Aug 2014 23:26:01 +0000 Subject: 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 --- lldb/source/Expression/IRExecutionUnit.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lldb/source/Expression/IRExecutionUnit.cpp') 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; -- cgit v1.2.3