This patch creates skeleton implementation for the DWARFLinkerParallel. It also integrates DWARFLinkerParallel into dsymutil and llvm-dwarfutil, so that empty DWARFLinker::link() can be called. To do this new command line option is added "--linker apple/llvm". Additionally it changes existing DWARFLinker interfaces/implementations to be compatible: use Error for error reporting for the DWARFStreamer, make DWARFFile to owner of referenced resources, other small refactorings. Differential Revision: https://reviews.llvm.org/D147952
24 lines
375 B
CMake
24 lines
375 B
CMake
add_llvm_component_library(LLVMDWARFLinkerParallel
|
|
DWARFEmitterImpl.cpp
|
|
DWARFLinker.cpp
|
|
DWARFLinkerImpl.cpp
|
|
OutputSections.cpp
|
|
StringPool.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/DWARFLinkerParallel
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
AsmPrinter
|
|
BinaryFormat
|
|
CodeGen
|
|
DebugInfoDWARF
|
|
MC
|
|
Object
|
|
Support
|
|
TargetParser
|
|
)
|