[PATCH] D110633: [llvm-objdump][docs] Add details to the help output and command guide

Owen Reynolds via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 08:33:14 PDT 2021


gbreynoo created this revision.
gbreynoo added reviewers: MaskRay, thakis.
Herald added a subscriber: rupprecht.
Herald added a reviewer: jhenderson.
gbreynoo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change is to add some missing details, clarifies some options and brings the help text and command guide of objdump closer together.

- Added to the help that `--all-headers` also outputs symbols and relocations to match the command guide.
- Added to the help that `--debug-vars` accepts an optional ascii/unicode format to match the command guide.
- Changed the help descriptions for `--disassemble`, `--disassemble-all`, `--dwarf=<value>`, `--fault-map-section`, `--line-numbers`, `--no-leading-addr` and `--source descriptions` to match the command guide.
- Added to the help that `--start-address` and `--stop-address` also effect relocation entries and the symbol table output to match the command guide.
- Added a note to the command guide that `--unwind-info` and `-u` are not available for the elf format.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110633

Files:
  llvm/docs/CommandGuide/llvm-objdump.rst
  llvm/tools/llvm-objdump/ObjdumpOpts.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110633.375575.patch
Type: text/x-patch
Size: 4901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/7b2a1a8d/attachment.bin>


More information about the llvm-commits mailing list