[PATCH] D146753: [llvm-readobj] Include section information in summary

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 13:11:49 PDT 2023


paulkirth created this revision.
paulkirth added reviewers: jhenderson, phosek.
Herald added a subscriber: emaste.
Herald added a project: All.
paulkirth requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Since we include a summary in JSON output, it is useful to surface
aggregate information about the object, such as the total number of
sections, their size, and info on allocated/debug sections. This
has been useful in quickly understanding size issues without post
processing the output. There may be other types of information that
could be useful to summarize.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146753

Files:
  llvm/test/tools/llvm-readobj/ELF/file-summary-json.test
  llvm/test/tools/llvm-readobj/ELF/pretty-print.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146753.507854.patch
Type: text/x-patch
Size: 5724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230323/2c171710/attachment.bin>


More information about the llvm-commits mailing list