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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 12 17:22:21 PST 2021


MaskRay created this revision.
MaskRay added reviewers: grimar, jhenderson, smeenai.
Herald added a subscriber: rupprecht.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98569

Files:
  llvm/docs/CommandGuide/llvm-nm.rst
  llvm/test/tools/llvm-nm/just-symbol-name.test
  llvm/test/tools/llvm-nm/just-symbols.test
  llvm/tools/llvm-nm/llvm-nm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98569.330406.patch
Type: text/x-patch
Size: 5245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210313/dc959e69/attachment.bin>


More information about the llvm-commits mailing list