[PATCH] D37771: llvm-dwarfdump: automatically dump both regular and .dwo variant of sections
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 15:38:27 PDT 2017
probinson added a comment.
UI is tricky. I think I lean in the direction that if the section doesn't exist, don't print anything, even the "contents:" line.
This is certainly how I want `--all` to behave, and obviously it's easiest and self-consistent if that's how the tool always behaves. So for example `--debug-types` when there is no .debug_types section should print nothing.
I could see an argument that if I explicitly asked for a particular section and it doesn't exist, I should get the "contents:" line with nothing after it. But that's really not how I want `--all` to behave.
https://reviews.llvm.org/D37771
More information about the llvm-commits
mailing list