[all-commits] [llvm/llvm-project] 31677c: [llvm-symbolizer] Remove one-dash long options

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 23 08:35:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31677c6481a5ceac1eec10c8e9fbe6694bf551ba
      https://github.com/llvm/llvm-project/commit/31677c6481a5ceac1eec10c8e9fbe6694bf551ba
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
    M llvm/test/tools/llvm-symbolizer/pdb/pdb-columns.test
    M llvm/tools/llvm-symbolizer/Opts.td

  Log Message:
  -----------
  [llvm-symbolizer] Remove one-dash long options

Most modern tools only accept two-dash long options. Remove one-dash
long options which are not recognized by GNU style `getopt_long`.
This ensures long options cannot collide with grouped short options.

Note: llvm-symbolizer has `-demangle={true,false}` for pprof compatibility
(for a while). They are kept.

Reviewed By: jhenderson

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




More information about the All-commits mailing list