[PATCH] D74205: [llvm-dwarfdump] Add the --show-sections-sizes option
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 16:50:43 PDT 2020
aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.
Looks like a great start! (From my side)
================
Comment at: llvm/test/tools/llvm-dwarfdump/X86/macho_archive_section_sizes.test:9
+CHECK-NEXT:__debug_info 60 (3.83%)
+CHECK-NEXT:__debug_loc 0 (0.00%)
+CHECK-NEXT:__debug_ranges 0 (0.00%)
----------------
long-term for the human readable output we probably want a function that takes byte value and prints it the way `ls -l -h` formats number, if we don't already have one in LLVM.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74205/new/
https://reviews.llvm.org/D74205
More information about the llvm-commits
mailing list