Files
clang-p2996/bolt/lib/Core/CMakeLists.txt
Alexander Yermolovich 6de5fcc746 [BOLT][DWARF] Add support for .debug_names (#81062)
DWARF5 spec supports the .debug_names acceleration table. This is the
formalized version of combination of gdb-index/pubnames/types. Added
implementation of it to BOLT. It supports both monolothic and split
dwarf, with and without Type Units. It does not include parent indices.
This will be in followup PR. Unlike LLVM output this will put all the
CUs and TUs into one Module.
2024-02-26 14:00:31 -08:00

43 lines
675 B
CMake

set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
Demangle
MC
MCDisassembler
Object
Support
BinaryFormat
AsmPrinter
TargetParser
)
add_llvm_library(LLVMBOLTCore
AddressMap.cpp
BinaryBasicBlock.cpp
BinaryContext.cpp
BinaryData.cpp
BinaryEmitter.cpp
BinaryFunction.cpp
BinaryFunctionProfile.cpp
BinarySection.cpp
DebugData.cpp
DebugNames.cpp
DIEBuilder.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
)