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
This commit is contained in:
Zachary Turner 2014-08-07 23:26:01 +00:00
parent ea96a3d336
commit d867520d0b
3 changed files with 5 additions and 2 deletions

View File

@ -92,7 +92,7 @@ endif
include $(LLDB_LEVEL)/../../Makefile.config
LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter codegen \
instrumentation ipo irreader selectiondag mc mcjit \
instrumentation ipo irreader selectiondag jit mc mcjit \
linker option
ifeq ($(HOST_OS),Darwin)

View File

@ -181,6 +181,7 @@ list(APPEND LLDB_SYSTEM_LIBS ${system_libs})
set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
jit
interpreter
asmparser
bitreader

View File

@ -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;