Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / lib / Core / CMakeLists.txt
blobc913179ebcc517ef17650ea5de30a48a12c3185f
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   BinaryFunctionProfile.cpp
21   BinarySection.cpp
22   DebugData.cpp
23   DIEBuilder.cpp
24   DynoStats.cpp
25   Exceptions.cpp
26   FunctionLayout.cpp
27   HashUtilities.cpp
28   JumpTable.cpp
29   MCPlusBuilder.cpp
30   ParallelUtilities.cpp
31   Relocation.cpp
33   DISABLE_LLVM_LINK_LLVM_DYLIB
34   LINK_LIBS
35   ${LLVM_PTHREAD_LIB}
36   )
38 target_link_libraries(LLVMBOLTCore
39   PRIVATE
40   LLVMBOLTUtils
41   )