[all-commits] [llvm/llvm-project] 2974b3: [llvm-dwarfdump] Make commandline arguments consis...

Xing GUO via All-commits all-commits at lists.llvm.org
Thu May 14 02:35:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2974b3c566d68f1d7c907f891137cf0292dd35aa
      https://github.com/llvm/llvm-project/commit/2974b3c566d68f1d7c907f891137cf0292dd35aa
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/cmdline.test
    M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

  Log Message:
  -----------
  [llvm-dwarfdump] Make commandline arguments consistent.

Currently, llvm-dwarfdump's help message has two issues.

1. Most long options are printed in `--long-option`, except for some section dumping options, e.g., `-apple-names`, `-debug-addr`.

2. Most options are printed with consistent indention, except for some section dumping options.

This patch helps resolve these two issues.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D79618




More information about the All-commits mailing list