[PATCH] D80959: [llvm-dwarfdump] Print =<offset> after --debug-* options in help output.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 15:11:42 PDT 2020


JDevlieghere updated this revision to Diff 267747.
JDevlieghere added a comment.

Print an error when passing a value to a flag that doesn't take one.

  $ ./bin/llvm-dwarfdump --debug-names=0x0
  llvm-dwarfdump: for the --debug-names option: this is a flag and does not take a value.


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

https://reviews.llvm.org/D80959

Files:
  llvm/docs/CommandGuide/llvm-dwarfdump.rst
  llvm/include/llvm/BinaryFormat/Dwarf.def
  llvm/include/llvm/DebugInfo/DIContext.h
  llvm/test/tools/llvm-dwarfdump/cmdline.test
  llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80959.267747.patch
Type: text/x-patch
Size: 11752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/a1ccdd63/attachment.bin>


More information about the llvm-commits mailing list