1if( CMAKE_HOST_UNIX AND HAVE_LIBRT ) 2 set(rt_lib rt) 3endif() 4 5add_llvm_component_library(LLVMOrcDebugging 6 DebugInfoSupport.cpp 7 DebuggerSupport.cpp 8 DebuggerSupportPlugin.cpp 9 LLJITUtilsCBindings.cpp 10 PerfSupportPlugin.cpp 11 VTuneSupportPlugin.cpp 12 13 ADDITIONAL_HEADER_DIRS 14 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc/Debugging/ 15 16 LINK_LIBS 17 ${LLVM_PTHREAD_LIB} 18 ${rt_lib} 19 20 LINK_COMPONENTS 21 BinaryFormat 22 DebugInfoDWARF 23 JITLink 24 OrcJIT 25 OrcShared 26 Support 27 TargetParser 28 ) 29