mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
be3f7186d3
This reverts commit c6ef6e1690d517b3401ea06b1fe46871eb67434d. Basically, publicly linked libraries have a different semantic than components, which link libraries privately. Differential Revision: https://reviews.llvm.org/D91461
34 lines
526 B
CMake
34 lines
526 B
CMake
add_llvm_component_library(LLVMJITLink
|
|
JITLink.cpp
|
|
JITLinkGeneric.cpp
|
|
JITLinkMemoryManager.cpp
|
|
EHFrameSupport.cpp
|
|
#macho
|
|
MachO.cpp
|
|
MachO_arm64.cpp
|
|
MachO_x86_64.cpp
|
|
MachOLinkGraphBuilder.cpp
|
|
#elf
|
|
ELF.cpp
|
|
ELF_x86_64.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/JITLink
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
BinaryFormat
|
|
Object
|
|
OrcTargetProcess
|
|
Support
|
|
)
|
|
|
|
target_link_libraries(LLVMJITLink
|
|
PRIVATE
|
|
LLVMObject
|
|
LLVMOrcTargetProcess
|
|
LLVMSupport
|
|
)
|