1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/tools/dsymutil
Jonas Devlieghere 5e66aeab68 [dsymutil] Add option to print statistics about the .debug_info size.
This patch adds statistics about the contribution of each object file to
the linked debug info. When --statistics is passed to dsymutil, it
prints a table after linking as illustrated below.

It lists the object file name, the size of the debug info in the object
file in bytes, and the absolute size contribution to the linked dSYM and
the percentage difference. The table is sorted by the output size, so
the object files contributing the most to the link are listed first.

.debug_info section size (in bytes)
-------------------------------------------------------------------------------
Filename                                           Object         dSYM   Change
-------------------------------------------------------------------------------
basic2.macho.x86_64.o                                210b         165b  -24.00%
basic3.macho.x86_64.o                                177b         150b  -16.51%
basic1.macho.x86_64.o                                125b         129b    3.15%
-------------------------------------------------------------------------------
Total                                                512b         444b  -14.23%
-------------------------------------------------------------------------------

Differential revision: https://reviews.llvm.org/D79513
2020-05-06 19:48:45 -07:00
..
BinaryHolder.cpp [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
BinaryHolder.h [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
CFBundle.cpp Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
CFBundle.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [DWARFLinker][dsymutil][NFC] Move DwarfStreamer into DWARFLinker. 2020-04-07 21:21:54 +03:00
DebugMap.cpp [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
DebugMap.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
dsymutil.cpp [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
dsymutil.h [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
DwarfLinkerForBinary.cpp [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
DwarfLinkerForBinary.h [DWARFLinker][dsymutil][NFC] Move DwarfStreamer into DWARFLinker. 2020-04-07 21:21:54 +03:00
LinkUtils.h [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
LLVMBuild.txt [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF optimizing part. #2. 2020-01-08 14:15:31 +03:00
MachODebugMapParser.cpp [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
MachOUtils.cpp [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
MachOUtils.h [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
Options.td [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
SymbolMap.cpp [llvm] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:16:46 -08:00
SymbolMap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00