forked from OSchip/llvm-project
4539b44148
This patch implements proposal https://lists.llvm.org/pipermail/llvm-dev/2020-August/144579.html llvm-dwarfutil - is a tool that is used for processing debug info(DWARF) located in built binary files to improve debug info quality, reduce debug info size. The patch currently implements smaller set of command-line options(comparing to the proposal): ``` ./llvm-dwarfutil [options] <input file> <output file> --garbage-collection Do garbage collection for debug info(default) -j <value> Alias for --num-threads --no-garbage-collection Don`t do garbage collection for debug info --no-odr-deduplication Don`t do ODR deduplication for debug types --no-odr Alias for --no-odr-deduplication --no-separate-debug-file Create single output file, containing debug tables(default) --num-threads <threads> Number of available threads for multi-threaded execution. Defaults to the number of cores on the current machine --odr-deduplication Do ODR deduplication for debug types(default) --odr Alias for --odr-deduplication --separate-debug-file Create two output files: file w/o debug tables and file with debug tables --tombstone [bfd,maxpc,exec,universal] Tombstone value used as a marker of invalid address(default: universal) =bfd - Zero for all addresses and [1,1] for DWARF v4 (or less) address ranges and exec =maxpc - Minus 1 for all addresses and minus 2 for DWARF v4 (or less) address ranges =exec - Match with address ranges of executable sections =universal - Both: bfd and maxpc ``` Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D86539 |
||
---|---|---|
.. | ||
FileCheck.rst | ||
bugpoint.rst | ||
clang-tblgen.rst | ||
dsymutil.rst | ||
index.rst | ||
lit.rst | ||
llc.rst | ||
lldb-tblgen.rst | ||
lli.rst | ||
llvm-addr2line.rst | ||
llvm-ar.rst | ||
llvm-as.rst | ||
llvm-bcanalyzer.rst | ||
llvm-config.rst | ||
llvm-cov.rst | ||
llvm-cxxfilt.rst | ||
llvm-cxxmap.rst | ||
llvm-diff.rst | ||
llvm-dis.rst | ||
llvm-dwarfdump.rst | ||
llvm-dwarfutil.rst | ||
llvm-exegesis-analysis.png | ||
llvm-exegesis.rst | ||
llvm-extract.rst | ||
llvm-ifs.rst | ||
llvm-install-name-tool.rst | ||
llvm-lib.rst | ||
llvm-libtool-darwin.rst | ||
llvm-link.rst | ||
llvm-lipo.rst | ||
llvm-locstats.rst | ||
llvm-mca.rst | ||
llvm-nm.rst | ||
llvm-objcopy.rst | ||
llvm-objdump.rst | ||
llvm-otool.rst | ||
llvm-pdbutil.rst | ||
llvm-profdata.rst | ||
llvm-profgen.rst | ||
llvm-ranlib.rst | ||
llvm-readelf.rst | ||
llvm-readobj.rst | ||
llvm-remark-size-diff.rst | ||
llvm-size.rst | ||
llvm-stress.rst | ||
llvm-strings.rst | ||
llvm-strip.rst | ||
llvm-symbolizer.rst | ||
llvm-tblgen.rst | ||
llvm-tli-checker.rst | ||
locstats-compare.png | ||
locstats-draw-plot.png | ||
mlir-tblgen.rst | ||
opt.rst | ||
tblgen.rst |