OSDN Git Service

[llvm-lipo] Implement -create (with hardcoded alignments)
authorShoaib Meenai <smeenai@fb.com>
Mon, 15 Jul 2019 22:29:30 +0000 (22:29 +0000)
committerShoaib Meenai <smeenai@fb.com>
Mon, 15 Jul 2019 22:29:30 +0000 (22:29 +0000)
commitd62ea46def08470a326688b881b87f1d7cdf0532
tree157d12fde3e65a7d84ca1273f155e09c9be9d0da
parent44efaf5ba669c34f5e97bfcd5b5f1b8d0ede40cd
[llvm-lipo] Implement -create (with hardcoded alignments)

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366142 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-lipo/Inputs/arm64-slice.yaml [new file with mode: 0644]
test/tools/llvm-lipo/Inputs/armv7-slice.yaml [new file with mode: 0644]
test/tools/llvm-lipo/Inputs/x86_64-slice.yaml [new file with mode: 0644]
test/tools/llvm-lipo/create-executable.test [new file with mode: 0644]
test/tools/llvm-lipo/create-invalid-input.test [new file with mode: 0644]
test/tools/llvm-lipo/create-without-alignment.test [new file with mode: 0644]
test/tools/llvm-lipo/thin-executable-universal-binary.test
tools/llvm-lipo/LipoOpts.td
tools/llvm-lipo/llvm-lipo.cpp