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

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 00:10:19 PDT 2021


jhenderson added inline comments.


================
Comment at: llvm/docs/CommandGuide/llvm-objdump.rst:96
+  
+  This operation is only currently supported for COFF and MachO object files.
 
----------------
I believe Mach-O is the canonical spelling.


================
Comment at: llvm/tools/llvm-objdump/ObjdumpOpts.td:36
 def disassemble : Flag<["--"], "disassemble">,
-  HelpText<"Display assembler mnemonics for the machine instructions">;
+  HelpText<"Disassemble all text sections found in the input files">;
 def : Flag<["-"], "d">, Alias<disassemble>, HelpText<"Alias for --disassemble">;
----------------
text -> executable

(you may wish to update the command guide too)


================
Comment at: llvm/tools/llvm-objdump/ObjdumpOpts.td:70-71
 def dwarf_EQ : Joined<["--"], "dwarf=">,
-  HelpText<"Dump of dwarf debug sections">, Values<"frames">;
+  HelpText<"Dump the specified DWARF debug sections. The "
+           "supported value is frames">,
+  Values<"frames">;
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110633/new/

https://reviews.llvm.org/D110633



More information about the llvm-commits mailing list