1 set(LLVM_LINK_COMPONENTS 2 ${LLVM_TARGETS_TO_BUILD} 3 AsmPrinter 4 DebugInfoDWARF 5 MC 6 Object 7 Support 8 Target 9 ) 10 11 add_llvm_tool(dsymutil 12 dsymutil.cpp 13 BinaryHolder.cpp 14 CFBundle.cpp 15 CompileUnit.cpp 16 DebugMap.cpp 17 DeclContext.cpp 18 DwarfLinker.cpp 19 DwarfStreamer.cpp 20 MachODebugMapParser.cpp 21 MachOUtils.cpp 22 NonRelocatableStringpool.cpp 23 24 DEPENDS 25 intrinsics_gen 26 ) 27 28 if(APPLE) 29 target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation") 30 endif(APPLE) 31