summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/mri4.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-ar][test] Move MRI tests from "llvm/test/Object/"Owen Reynolds2019-09-261-4/+0
| | | | | | | | | | llvm/test/Object/ contains tests for the ArchiveWriter library, however support for MRI scripts is found in llvm-ar and not the library. This diff moves the MRI related tests and removes those that are duplicates. Differential Revision: https://reviews.llvm.org/D68038 llvm-svn: 372973
* Reapply [llvm-ar] Include a line number when failing to parse an MRI scriptOwen Reynolds2019-09-201-1/+1
| | | | | | | | | | | Reapply r372309 Errors that occur when reading an MRI script now include a corresponding line number. Differential Revision: https://reviews.llvm.org/D67449 llvm-svn: 372374
* [llvm-ar] Uncapitalize error messages and delete full stopFangrui Song2019-09-141-1/+1
| | | | | | | | | | | | Most GNU binutils don't append full stops in error messages. This convention has been adopted by a bunch of LLVM binary utilities. Make llvm-ar follow the convention as well. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D67558 llvm-svn: 371912
* Re-enable tests in llvm/test/Object, corresponding to line_iterator'sNAKAMURA Takumi2014-11-041-3/+0
| | | | | | change in r221153. llvm-svn: 221265
* Suppress llvm-ar's MRI tests for now on win32, since line_iterator is ↵NAKAMURA Takumi2014-10-111-0/+3
| | | | | | incompatible to CRLF. llvm-svn: 219579
* llvm-ar: Start adding support for mri scripts.Rafael Espindola2014-10-101-0/+4
I was quiet surprised to find this feature being used. Fortunately the uses I found look fairly simple. In fact, they are just a very verbose version of the regular ar commands. Start implementing it then by parsing the script and setting the command variables as if we had a regular command line. This patch adds just enough support to create an empty archive and do a bit of error checking. In followup patches I will implement at least addmod and addlib. From the description in the manual, even the more general case should not be too hard to implement if needed. The features that don't map 1:1 to the simple command line are * Reading from multiple archives. * Creating multiple archives. llvm-svn: 219521
OpenPOWER on IntegriCloud