summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ranlib/help-message.test
Commit message (Collapse)AuthorAgeFilesLines
* Make the llvm-ranlib/help-message.test test pass in unusual configurationsDmitri Gribenko2020-01-021-1/+1
| | | | | | The version string can be customized by CMake options, so the 'LLVM version' substring is not guaranteed to appear (see VersionPrinter::print in llvm/lib/Support/CommandLine.cpp).
* [llvm-ranlib] Handle -D and -U command line flagAlex Richardson2020-01-021-4/+13
| | | | | | | | | | | | | | I have been trying to build CheriBSD (a fork for FreeBSD for the CHERI CPU) with LLVM binutils instead of the default elftoolchain utilities. I noticed that building static archives was failing because ranlib is invoked with the -D flag. This failed with llvm-ranlib since it parses the -D flag as the archive path and reports an error that more than one archive has been passed. This fixes https://llvm.org/PR41707 Reviewed By: rupprecht Differential Revision: https://reviews.llvm.org/D71554
* llvm-ranlib/nm: Don't print usage message except for usage errorsSam Clegg2019-11-081-0/+8
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
OpenPOWER on IntegriCloud