[PATCH] D146753: [llvm-readobj] Include section information in summary
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 24 00:34:31 PDT 2023
jhenderson added a comment.
I'm wary of extending the information specifically for JSON dumping, as it doesn't feel right to me that this output format should provide information that isn't provided in at least the LLVM format too (in practice, the two should be identical, barring how things are formatted, in my opinion).
You talk about how you are trying to understand size issues in this patch. Why does this mean JSON output specifically needs this info? llvm-size already provides similar sorts of information, so is this really the right tool for the job? Also, the "debug" versus "remaining" (which should probably be "other") line is not particularly well-defined. For example, this patch treats some sections that are stripped with --strip-debug in llvm-objcopy as "remaining".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146753/new/
https://reviews.llvm.org/D146753
More information about the llvm-commits
mailing list