[all-commits] [llvm/llvm-project] 8fbedb: [llvm-nm] Add --format=just-symbols and make --jus...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Mar 16 10:07:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fbedb6b908f20b9972cb064dfe7b6d7ea3782ef
      https://github.com/llvm/llvm-project/commit/8fbedb6b908f20b9972cb064dfe7b6d7ea3782ef
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-nm.rst
    R llvm/test/tools/llvm-nm/just-symbol-name.test
    A llvm/test/tools/llvm-nm/just-symbols.test
    M llvm/tools/llvm-nm/llvm-nm.cpp

  Log Message:
  -----------
  [llvm-nm] Add --format=just-symbols and make --just-symbol-name its alias

https://sourceware.org/bugzilla/show_bug.cgi?id=27487 binutils will have
--format=just-symbols/-j as well.

Arbitrarily prefer `-j` to `--format=sysv`. Previously `--format=sysv -j` prints
in the sysv format while `-j` takes precedence over other formats.

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




More information about the All-commits mailing list