llvm-project
llvm-project copied to clipboard
Improve llvm-objdump help text
| Bugzilla Link | 42250 |
| Resolution | FIXED |
| Resolved on | Jul 22, 2021 00:36 |
| Version | trunk |
| OS | Windows NT |
| CC | @gbreynoo,@MaskRay |
Extended Description
I noticed a few issues with the help text of llvm-objdump, which should probably be fixed.
- -cfg is mentioned in the documentation but not in the help text.
- The -m/--macho options are not listed as Mach-O specific options in the help text, unlike other Mach-O related options.
- -x86-asm-syntax is explicitly hidden in the help text, despite being in the documentation. I don't know why.
- Some short options are in the documentation but not the help text (e.g. -g). See also http://lists.llvm.org/pipermail/llvm-dev/2019-June/132917.html.
Agree that this is fixed.
I'd say this ticket is now fixed:
- The cfg option was removed from the command guide.
- -x86-asm-syntax is no longer hidden.
- all short options are now in help text.
Regarding the macho option, I think the macho switch makes more sense as a general switch rather than in the macho section as it enables macho behaviour, rather than being macho specific behaviour itself.This may come down to personal preference though.
Due to possible disagreement with --macho I won't close this ticket myself.