mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
66e55d58ea
This ensures that we're building and testing the CompileOnDemand layer, at least in a basic way. Currently x86-64 only, and with limited to no library calls enabled (depending on host platform). Patches welcome. ;) To enable access to the lazy JIT, this patch replaces the '-use-orcmcjit' lli option with a new option: '-jit-kind={ mcjit | orc-mcjit | orc-lazy }'. All regression tests are updated to use the new option, and one trivial test of the new lazy JIT is added. llvm-svn: 233182
44 lines
675 B
CMake
44 lines
675 B
CMake
add_subdirectory(ChildTarget)
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
CodeGen
|
|
Core
|
|
ExecutionEngine
|
|
IRReader
|
|
Instrumentation
|
|
Interpreter
|
|
MC
|
|
MCJIT
|
|
Object
|
|
OrcJIT
|
|
RuntimeDyld
|
|
SelectionDAG
|
|
Support
|
|
native
|
|
)
|
|
|
|
if( LLVM_USE_OPROFILE )
|
|
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_LINK_COMPONENTS}
|
|
OProfileJIT
|
|
)
|
|
endif( LLVM_USE_OPROFILE )
|
|
|
|
if( LLVM_USE_INTEL_JITEVENTS )
|
|
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_LINK_COMPONENTS}
|
|
DebugInfoDWARF
|
|
IntelJITEvents
|
|
Object
|
|
)
|
|
endif( LLVM_USE_INTEL_JITEVENTS )
|
|
|
|
add_llvm_tool(lli
|
|
lli.cpp
|
|
OrcLazyJIT.cpp
|
|
RemoteMemoryManager.cpp
|
|
RemoteTarget.cpp
|
|
RemoteTargetExternal.cpp
|
|
)
|
|
export_executable_symbols(lli)
|