mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-25 03:55:25 +00:00
2eb4133a38
ChildTarget.cpp has the following include chain: llvm/ExecutionEngine/Orc/OrcABISupport.h llvm/ExecutionEngine/Orc/IndirectionUtils.h llvm/IR/IRBuilder.h llvm/IR/ConstantFolder.h llvm/IR/InstrTypes.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means lli needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287420 91177308-0d34-0410-b5e6-96231b3b80d8
48 lines
693 B
CMake
48 lines
693 B
CMake
if ( LLVM_INCLUDE_UTILS )
|
|
add_subdirectory(ChildTarget)
|
|
endif()
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
CodeGen
|
|
Core
|
|
ExecutionEngine
|
|
IRReader
|
|
Instrumentation
|
|
Interpreter
|
|
MC
|
|
MCJIT
|
|
Object
|
|
OrcJIT
|
|
RuntimeDyld
|
|
SelectionDAG
|
|
Support
|
|
Target
|
|
TransformUtils
|
|
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
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
export_executable_symbols(lli)
|