Files
clang-p2996/llvm/lib/ExecutionEngine/Orc/Debugging/CMakeLists.txt
Lang Hames dd42651295 [ORC] Add BinaryFormat dependence to the LLVMOrcDebugging library.
This is needed as of 630139460e for MachO::getCPUType and
MachO::getCPUSubType.
2025-01-20 10:39:10 +11:00

29 lines
502 B
CMake

if( CMAKE_HOST_UNIX AND HAVE_LIBRT )
set(rt_lib rt)
endif()
add_llvm_component_library(LLVMOrcDebugging
DebugInfoSupport.cpp
DebuggerSupport.cpp
DebuggerSupportPlugin.cpp
LLJITUtilsCBindings.cpp
PerfSupportPlugin.cpp
VTuneSupportPlugin.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc/Debugging/
LINK_LIBS
${LLVM_PTHREAD_LIB}
${rt_lib}
LINK_COMPONENTS
BinaryFormat
DebugInfoDWARF
JITLink
OrcJIT
OrcShared
Support
TargetParser
)