2014-12-13 01:31:24 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2015-02-28 08:29:11 +08:00
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
|
|
AsmPrinter
|
2015-01-31 02:07:45 +08:00
|
|
|
DebugInfoDWARF
|
2015-02-28 08:29:11 +08:00
|
|
|
MC
|
2014-12-13 01:31:24 +08:00
|
|
|
Object
|
|
|
|
Support
|
2015-06-04 03:07:51 +08:00
|
|
|
Target
|
2014-12-13 01:31:24 +08:00
|
|
|
)
|
|
|
|
|
2018-03-18 19:38:41 +08:00
|
|
|
add_llvm_tool(dsymutil
|
2014-12-13 01:31:24 +08:00
|
|
|
dsymutil.cpp
|
2015-01-06 05:29:28 +08:00
|
|
|
BinaryHolder.cpp
|
2017-11-30 18:25:28 +08:00
|
|
|
CFBundle.cpp
|
2014-12-13 01:31:24 +08:00
|
|
|
DebugMap.cpp
|
|
|
|
DwarfLinker.cpp
|
|
|
|
MachODebugMapParser.cpp
|
2015-08-06 02:27:44 +08:00
|
|
|
MachOUtils.cpp
|
2018-03-01 18:05:54 +08:00
|
|
|
NonRelocatableStringpool.cpp
|
2016-11-19 10:02:46 +08:00
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2014-12-13 01:31:24 +08:00
|
|
|
)
|
|
|
|
|
2018-03-01 07:00:50 +08:00
|
|
|
if(APPLE)
|
2018-03-18 19:38:41 +08:00
|
|
|
target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation")
|
2018-03-01 07:00:50 +08:00
|
|
|
endif(APPLE)
|