blob: c8053aff0ad1cc35a7c2a01da2f2c7c1ce152e54 [file] [edit]
if( CMAKE_HOST_UNIX AND HAVE_LIBRT )
set(rt_lib rt)
endif()
add_llvm_component_library(LLVMOrcDebugging
DebugInfoSupport.cpp
DebuggerSupport.cpp
DebuggerSupportPlugin.cpp
ELFDebugObjectPlugin.cpp
LLJITUtilsCBindings.cpp
PerfSupportPlugin.cpp
VTuneSupportPlugin.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc/Debugging/
DEPENDS
intrinsics_gen
LINK_LIBS
${LLVM_PTHREAD_LIB}
${rt_lib}
LINK_COMPONENTS
BinaryFormat
DebugInfoDWARF
JITLink
Object
OrcJIT
OrcShared
Support
TargetParser
)