forked from OSchip/llvm-project
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:
parent
ea96a3d336
commit
d867520d0b
|
@ -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)
|
||||
|
|
|
@ -181,6 +181,7 @@ list(APPEND LLDB_SYSTEM_LIBS ${system_libs})
|
|||
|
||||
set( LLVM_LINK_COMPONENTS
|
||||
${LLVM_TARGETS_TO_BUILD}
|
||||
jit
|
||||
interpreter
|
||||
asmparser
|
||||
bitreader
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue