llvm-project/llvm/docs/CommandGuide
Jonas Devlieghere 7fb9bcd3da [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
..
FileCheck.rst [docs][FileCheck] Fix invalid example 2020-05-02 23:31:18 +01:00
bugpoint.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
dsymutil.rst [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
index.rst Reland "[utils] Implement the llvm-locstats tool" 2019-10-02 07:00:01 +00:00
lit.rst [docs] Fix :option: links 2020-04-25 16:19:02 -06:00
llc.rst [Docs] Add more FP option description for llc 2020-04-09 17:13:01 +08:00
lli.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-addr2line.rst llvm-addr2line: assume addresses on the command line are hexadecimal rather than attempting to guess the base based on the form of the number. 2020-04-16 16:16:21 -07:00
llvm-ar.rst [docs][llvm-ar] Update llvm-ar command guide 2019-10-21 13:13:31 +00:00
llvm-as.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-bcanalyzer.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-build.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-config.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-cov.rst Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
llvm-cxxfilt.rst [docs][llvm-cxxfilt] Document --no-strip-underscore option 2020-05-01 11:03:06 +01:00
llvm-cxxmap.rst llvm-cxxmap: fix support for remapping non-mangled names. 2019-12-18 10:47:02 -08:00
llvm-diff.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-dis.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-dwarfdump.rst [llvm-dwarfdump][Stats] Clean up 2020-05-04 09:35:40 +02:00
llvm-exegesis-analysis.png
llvm-exegesis.rst [llvm-exegesis] 'Min' repetition mode 2020-04-02 09:28:35 +03:00
llvm-extract.rst [llvm-extract] Add -keep-const-init commandline option 2020-02-03 14:30:28 +09:00
llvm-lib.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-link.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-lipo.rst doc: use the right url to bugzilla 2020-03-22 22:49:40 +01:00
llvm-locstats.rst [llvm-locstats] Add the --compare option 2020-01-15 14:35:29 +01:00
llvm-mca.rst Clarify how llvm-mca detects att vs intel syntax. 2020-02-06 19:35:09 -08:00
llvm-nm.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-objcopy.rst [docs][llvm-objcopy] Update --output-target text with right defaults 2020-05-05 11:22:56 +01:00
llvm-objdump.rst [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D 2020-04-06 10:10:10 -04:00
llvm-pdbutil.rst [docs][tools] Add missing "program" tags to rst files 2019-06-27 13:24:46 +00:00
llvm-profdata.rst Typos correction. 2020-04-13 13:46:18 +02:00
llvm-ranlib.rst Fix some regressions caused by r369553 on old versions of Debian and Ubuntu 2019-08-22 12:16:08 +00:00
llvm-readelf.rst [llvm-readobj/llvm-readelf] Delete --arm-attributes (alias for --arch-specific) 2019-10-01 01:31:15 +00:00
llvm-readobj.rst [llvm-readobj] - Implement --dependent-libraries flag. 2019-12-06 14:28:29 +03:00
llvm-size.rst doc: use the right url to bugzilla 2020-03-22 22:49:40 +01:00
llvm-stress.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-strings.rst doc: use the right url to bugzilla 2020-03-22 22:49:40 +01:00
llvm-strip.rst doc: use the right url to bugzilla 2020-03-22 22:49:40 +01:00
llvm-symbolizer.rst Address sphinx warnings 2020-04-13 14:41:55 +02:00
locstats-compare.png [llvm-locstats] Add the --compare option 2020-01-15 14:35:29 +01:00
locstats-draw-plot.png [llvm-locstats] Fix the docs 2020-01-15 12:32:01 +01:00
opt.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
tblgen.rst [llvm] NFC: fix trivial typos in documents 2020-01-22 11:32:51 +08:00