]> granicus.if.org Git - llvm/commit
Make llvm-nm -help great again
authorSerge Guelton <sguelton@redhat.com>
Thu, 11 Apr 2019 15:22:48 +0000 (15:22 +0000)
committerSerge Guelton <sguelton@redhat.com>
Thu, 11 Apr 2019 15:22:48 +0000 (15:22 +0000)
commite4706f2c5df6b66c215dd0552c22e4b6c347f897
tree4bde284ad34955befa123854345021eef732c265
parent700e61c5aa9a51e9658647b39d5ffcb3dc27866e
Make llvm-nm -help great again

Only display help from the llvm-nm category instead of all llvm options, which make it much more usable.
There's still an issue with -s, which is probably a bug in llvm::cl and worth another commit.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358185 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-nm/help.test [new file with mode: 0644]
tools/llvm-nm/llvm-nm.cpp