[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / bolt / lib / Core / CMakeLists.txt
blobbb58667066fd8856f8c5a86b56b06c7ebc1d6b75
1 set(LLVM_LINK_COMPONENTS
2   DebugInfoDWARF
3   Demangle
4   MC
5   MCDisassembler
6   Object
7   Support
8   BinaryFormat
9   AsmPrinter
10   TargetParser
11   )
13 add_llvm_library(LLVMBOLTCore
14   AddressMap.cpp
15   BinaryBasicBlock.cpp
16   BinaryContext.cpp
17   BinaryData.cpp
18   BinaryEmitter.cpp
19   BinaryFunction.cpp
20   BinaryFunctionCallGraph.cpp
21   BinaryFunctionProfile.cpp
22   BinarySection.cpp
23   CallGraph.cpp
24   CallGraphWalker.cpp
25   DebugData.cpp
26   DebugNames.cpp
27   DIEBuilder.cpp
28   DynoStats.cpp
29   Exceptions.cpp
30   FunctionLayout.cpp
31   GDBIndex.cpp
32   HashUtilities.cpp
33   JumpTable.cpp
34   MCPlusBuilder.cpp
35   ParallelUtilities.cpp
36   Relocation.cpp
38   DISABLE_LLVM_LINK_LLVM_DYLIB
39   LINK_LIBS
40   ${LLVM_PTHREAD_LIB}
41   )
43 target_link_libraries(LLVMBOLTCore
44   PRIVATE
45   LLVMBOLTUtils
46   )