summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ar
Commit message (Collapse)AuthorAgeFilesLines
* Merging r338703 and r338709:Hans Wennborg2018-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r338703 | bd1976llvm | 2018-08-02 13:27:38 +0200 (Thu, 02 Aug 2018) | 8 lines [llvm-ar] Correct help text Corrected and simplified the help text. It was clearly too difficult to maintain before (see e.g. @227296) making it simpler and more consistent it should help people keep it up to date. Differential Revision: https://reviews.llvm.org/D48577 ------------------------------------------------------------------------ ------------------------------------------------------------------------ r338709 | bd1976llvm | 2018-08-02 14:27:01 +0200 (Thu, 02 Aug 2018) | 3 lines [llvm-ar] Fix help text test. NFC. Missed from @338703 ------------------------------------------------------------------------ llvm-svn: 338840
* [COFF] Adjust how we flag weak externalsMartin Storsjo2018-07-201-0/+53
| | | | | | | | | | This fixes PR36096. Originally based on a patch by Martell Malone. Differential Revision: https://reviews.llvm.org/D44357 llvm-svn: 337613
* [llvm-ar] Temporarily make the tool case detection test Windows-only to fix ↵Alexandre Ganea2018-04-101-0/+1
| | | | | | the build (introduced in r329658) llvm-svn: 329683
* [llvm-ar] Fix lib.exe detection when running within MSVC toolchainAlexandre Ganea2018-04-101-0/+11
| | | | | | Differential Revision: https://reviews.llvm.org/D44808 llvm-svn: 329658
* [llvm-ar] Support multiple dashed optionsPeter Collingbourne2018-03-281-0/+16
| | | | | | | | | | | | | | | This allows syntax like: $ llvm-ar -c -r -u file.a file.o This is in addition to the other formats that are already supported: $ llvm-ar cru file.a file.o $ llvm-ar -cru file.a file.o Patch by Tom Anderson! Differential Revision: https://reviews.llvm.org/D44452 llvm-svn: 328716
* On Windows expansion of regex file name patterns is the responsibility of eachDmitry Mikulin2018-03-051-0/+7
| | | | | | | | tool. Fix ar to do that. Differential Revision: https://reviews.llvm.org/D43987 llvm-svn: 326734
* Implementation of MRI "delete" command.Dmitry Mikulin2018-03-021-0/+14
| | | | | | Differential Revision: https://reviews.llvm.org/D43989 llvm-svn: 326636
* [llvm-ar] Support an options string that start with a dashMartin Storsjo2017-11-031-1/+2
| | | | | | | | Some projects call $AR like "$AR -crs output input1 input2". Differential Revision: https://reviews.llvm.org/D39538 llvm-svn: 317358
* Don't call exit from cl::PrintHelpMessage.Rafael Espindola2017-09-071-0/+1
| | | | | | | | | Most callers were not expecting the exit(0) and trying to exit with a different value. This also adds back the call to cl::PrintHelpMessage in llvm-ar. llvm-svn: 312761
* llvm-ar: exit with 1 if there is an error.Rafael Espindola2017-09-071-0/+4
| | | | | | This is pr34396. llvm-svn: 312752
* Fix binary static archive that got mangled by patchReid Kleckner2017-03-311-0/+0
| | | | llvm-svn: 299265
* [llvm-ar] Extract objects to their basename in the CWDReid Kleckner2017-03-312-0/+20
| | | | | | | This is helpful when extracting objects from archives produced by MSVC's lib.exe, which users absolute paths to describe the archive members. llvm-svn: 299264
* test: relax the match on the timestampSaleem Abdulrasool2016-07-051-1/+1
| | | | llvm-svn: 274529
* Object: support empty UID/GID fieldsSaleem Abdulrasool2016-07-052-0/+5
| | | | | | | | | Normal archives do not have empty UID/GID fields. However, the Microsoft Import library format is a customized archive (it just uses an alternate symbol index format). When the import library is constructed by lib.exe, the UID and GID fields are left empty. Do not abort on such an input. llvm-svn: 274528
* [yaml2obj] Remove --format option in favor of YAML tagsChris Bieneman2016-06-277-8/+8
| | | | | | | | | | | | | | | | | | | | | | Summary: Our YAML library's handling of tags isn't perfect, but it is good enough to get rid of the need for the --format argument to yaml2obj. This patch does exactly that. Instead of requiring --format, it infers the format based on the tags found in the object file. The supported tags are: !ELF !COFF !mach-o !fat-mach-o I have a corresponding patch that is quite large that fixes up all the in-tree test cases. Reviewers: rafael, Bigcheese, compnerd, silvas Subscribers: compnerd, llvm-commits Differential Revision: http://reviews.llvm.org/D21711 llvm-svn: 273915
* llvm-ar: add some tests for llvm-ar default selectionSaleem Abdulrasool2016-06-258-0/+179
This adds some tests for the smarter llvm-ar selection mode as well as some additional tests as per Rafael's post commit review comments. llvm-svn: 273768
OpenPOWER on IntegriCloud