mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
f589dab5bf
This patch splits off some abstractions used by dsymutil's dwarf linker and moves them into separate header and implementation files. This almost halves the number of LOC in DwarfLinker.cpp and makes it a lot easier to understand what functionality lives where. Differential revision: https://reviews.llvm.org/D48647 llvm-svn: 335749
31 lines
481 B
CMake
31 lines
481 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
AsmPrinter
|
|
DebugInfoDWARF
|
|
MC
|
|
Object
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_tool(dsymutil
|
|
dsymutil.cpp
|
|
BinaryHolder.cpp
|
|
CFBundle.cpp
|
|
CompileUnit.cpp
|
|
DebugMap.cpp
|
|
DeclContext.cpp
|
|
DwarfLinker.cpp
|
|
DwarfStreamer.cpp
|
|
MachODebugMapParser.cpp
|
|
MachOUtils.cpp
|
|
NonRelocatableStringpool.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
if(APPLE)
|
|
target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation")
|
|
endif(APPLE)
|