blob: 7c633e37eeb777bf9a9f090505c14e1a286395a1 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
Demangle
MC
MCDisassembler
Object
Support
TargetParser
)
add_llvm_library(LLVMBOLTCore
BinaryBasicBlock.cpp
BinaryContext.cpp
BinaryData.cpp
BinaryEmitter.cpp
BinaryFunction.cpp
BinaryFunctionProfile.cpp
BinarySection.cpp
DebugData.cpp
DynoStats.cpp
Exceptions.cpp
FunctionLayout.cpp
HashUtilities.cpp
JumpTable.cpp
MCPlusBuilder.cpp
ParallelUtilities.cpp
Relocation.cpp
DISABLE_LLVM_LINK_LLVM_DYLIB
LINK_LIBS
${LLVM_PTHREAD_LIB}
)
target_link_libraries(LLVMBOLTCore
PRIVATE
LLVMBOLTUtils
)