summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lipo
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-lipo] Add support for -extractAlexander Shaposhnikov2019-11-211-0/+14
| | | | | | | | This diff adds support for -extract. Test plan: make check-all Differential revision: https://reviews.llvm.org/D70522
* [llvm-lipo] Add support for -arch Alexander Shaposhnikov2019-09-272-5/+22
| | | | | | | | | | Add support for -arch. Differential revision: https://reviews.llvm.org/D68116 Test plan: make check-all llvm-svn: 373132
* [llvm-lipo] Add support for archives Alexander Shaposhnikov2019-09-231-0/+26
| | | | | | | | | | | Add support for creating universal binaries which can contain an archive. Differential revision: https://reviews.llvm.org/D67758 Test plan: make check-all llvm-svn: 372666
* [llvm-lipo] Implement -segalignAnusha Basana2019-08-052-0/+142
| | | | | | | | | | Sets section alignments of the specified architecture slices to the alignment values. Alignment values are hexadecimal values that are powers of 2. Differential Revision: https://reviews.llvm.org/D65420 llvm-svn: 367908
* [llvm-lipo] Fix test on WindowsAnusha Basana2019-07-291-1/+1
| | | | | | | | | | Error message outputs with lowercase on Windows. Made test work on Widnows. For example: llvm-lipo: error: 'i386': no such file or directory llvm-svn: 367266
* [llvm-lipo] Implement -replaceAnusha Basana2019-07-295-0/+1567
| | | | | | | | | Replaces specified architecture in universal binary input file with slice from the file_name argument passed into the replace command. Differential Revision: https://reviews.llvm.org/D65247 llvm-svn: 367248
* add 'a' to chmod in llvm-lipo executability testsBob Haarman2019-07-262-5/+5
| | | | | | | | | | | | | | | | | | | | | | | Summary: When specifying symbolic permissions with + or -, if none of a/u/g/o are specified, bits set in the umask are not affected. This caused the llvm-lipo executability tests to fail on some systems, e.g. having an umask of 027 would cause chmod -x to not clear the executable bit for others. This change instead uses chmod a-x, which clears all the executable bits regardless of umask. Reviewers: smeenai, hans, anushabasana Reviewed By: smeenai Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65342 llvm-svn: 367142
* [llvm-lipo] Implement alignment function in -createShoaib Meenai2019-07-254-0/+467
| | | | | | | | | | | Summary: Removes hard coded valuse for alignment in -create. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D64871 llvm-svn: 366970
* [llvm-lipo] Add test for -verify_archsShoaib Meenai2019-07-251-0/+1
| | | | | | | | | | | Add test to verify clean failure, exit code 1 for valid architecture not present in the universal binary. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D65251 llvm-svn: 366968
* [llvm-lipo] Implement -infoShoaib Meenai2019-07-232-0/+50
| | | | | | | | | | Prints architecture type of all input files. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D64668 llvm-svn: 366772
* [llvm-lipo] Remove trailing whitespace. NFCShoaib Meenai2019-07-196-41/+41
| | | | llvm-svn: 366595
* Reapply [llvm-lipo] Implement -create (with hardcoded alignments)Shoaib Meenai2019-07-186-0/+319
| | | | | | | | | | | | | | | | This reapplies r366142 with a fix for the failing Windows test. Original commit message: Creates universal binary output file from input files. Currently uses hard coded value for alignment. Want to get the create functionality approved before implementing the alignment function. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D64102 llvm-svn: 366512
* Revert [llvm-lipo] Implement -create (with hardcoded alignments)Shoaib Meenai2019-07-157-318/+1
| | | | | | | | | This reverts r366142 (git commit 67cee1dc7ee285b03372eb818a3894d35efa7394) The test is failing on the Windows buildbots. Reverting while I investigate. llvm-svn: 366144
* [llvm-lipo] Implement -create (with hardcoded alignments)Shoaib Meenai2019-07-157-1/+318
| | | | | | | | | | | | Creates universal binary output file from input files. Currently uses hard coded value for alignment. Want to get the create functionality approved before implementing the alignment function. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D64102 llvm-svn: 366142
* [MachO] Add valid architecture functionShoaib Meenai2019-07-041-2/+2
| | | | | | | | | | | Added array of valid architectures and function returning array. Modified llvm-lipo to include list of valid architectures in error message for invalid arch. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D63735 llvm-svn: 365099
* Fix UNSUPPORTED attribute from windows to system-windows.Douglas Yung2019-06-221-1/+1
| | | | llvm-svn: 364122
* [llvm-lipo] Implement -thinShoaib Meenai2019-06-216-1/+404
| | | | | | | | | | Creates thin output file of specified arch_type from the fat input file. Patch by Anusha Basana <anushabasana@fb.com> Differential Revision: https://reviews.llvm.org/D63341 llvm-svn: 364107
* [llvm-lipo] Implement -archsShoaib Meenai2019-06-077-6/+166
| | | | | | | | | | | Displays the architecture names of an input file. Unknown architectures are represented by unknown(cputype,cpusubtype). Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D62753 llvm-svn: 362840
* [tools] Introduce llvm-lipoAlexander Shaposhnikov2019-05-283-0/+88
This diff starts the implementation of llvm-lipo which is supposed to be a drop-in replacement for the well-known tool lipo. Test plan: make check-all Differential revision: https://reviews.llvm.org/D61927 llvm-svn: 361896
OpenPOWER on IntegriCloud