[PATCH] D70021: llvm-ranlib/nm: Don't print usage message except for usage errors

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 8 11:48:25 PST 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, rupprecht, aheejin.
Herald added a project: LLVM.

Also, fix a bug in ranlib where it didn't correctly detect being run
without any argument and would try to operate on the empty string.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70021

Files:
  llvm/test/tools/llvm-ar/invalid-object-file.test
  llvm/test/tools/llvm-ranlib/bad-usage.test
  llvm/test/tools/llvm-ranlib/help-message.test
  llvm/tools/llvm-ar/llvm-ar.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70021.228503.patch
Type: text/x-patch
Size: 6977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191108/c69431e9/attachment.bin>


More information about the llvm-commits mailing list