[all-commits] [llvm/llvm-project] 7299c6: [test] Avoid llvm-nm one-dash long options

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 15 09:50:52 PDT 2021


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

  Changed paths:
    M compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
    M lld/test/mach-o/debug-syms.yaml

  Log Message:
  -----------
  [test] Avoid llvm-nm one-dash long options


  Commit: 96e9bc42447531a20569e0a680c029837a4868d8
      https://github.com/llvm/llvm-project/commit/96e9bc42447531a20569e0a680c029837a4868d8
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M llvm/test/tools/llvm-nm/X86/posix-aliases.test
    M llvm/tools/llvm-nm/Opts.td

  Log Message:
  -----------
  [llvm-nm] Remove one-dash long options except -arch

The documentation and help messages have recommended the double-dash forms for
quite a while. Remove one-dash long options which are not recognized by GNU
style `getopt_long`.

`-arch` is kept as it is in the manpage of classic nm
https://keith.github.io/xcode-man-pages/nm.1.html

Note: the dyldinfo related options don't have a test.

Reviewed By: jhenderson

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


Compare: https://github.com/llvm/llvm-project/compare/2b6e433230ab...96e9bc424475


More information about the All-commits mailing list