Debuginfod can pull in libcurl as a dependency, which isn't appropriate for libLLVM. (See https://gitlab.freedesktop.org/mesa/mesa/-/issues/5732). This change breaks out debuginfod into a separate non-component library that can be used directly in llvm-symbolizer. The tool can inject debuginfod into the Symbolizer library via an abstract DebugInfoFetcher interface, breaking the dependency of Symbolizer on debuinfod. See https://github.com/llvm/llvm-project/issues/52731 Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D118413
17 lines
281 B
CMake
17 lines
281 B
CMake
add_llvm_component_library(LLVMSymbolize
|
|
DIFetcher.cpp
|
|
DIPrinter.cpp
|
|
SymbolizableObjectFile.cpp
|
|
Symbolize.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo/Symbolize
|
|
|
|
LINK_COMPONENTS
|
|
DebugInfoDWARF
|
|
DebugInfoPDB
|
|
Object
|
|
Support
|
|
Demangle
|
|
)
|