[all-commits] [llvm/llvm-project] 6278fb: llvm-ranlib/nm: Don't print usage message except f...

Sam Clegg via All-commits all-commits at lists.llvm.org
Fri Nov 8 15:17:18 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6278fba9b11751b97c6091049341c51226c5b434
      https://github.com/llvm/llvm-project/commit/6278fba9b11751b97c6091049341c51226c5b434
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M llvm/test/tools/llvm-ar/invalid-object-file.test
    A llvm/test/tools/llvm-ranlib/bad-usage.test
    A llvm/test/tools/llvm-ranlib/help-message.test
    M llvm/tools/llvm-ar/llvm-ar.cpp

  Log Message:
  -----------
  llvm-ranlib/nm: Don't print usage message except for usage errors

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.

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




More information about the All-commits mailing list