Reapply [llvm-lipo] Implement -create (with hardcoded alignments)
authorShoaib Meenai <smeenai@fb.com>
Thu, 18 Jul 2019 22:48:38 +0000 (22:48 +0000)
committerShoaib Meenai <smeenai@fb.com>
Thu, 18 Jul 2019 22:48:38 +0000 (22:48 +0000)
commit16a9632558e7352ae39cada6e4ae9297fb67a33c
treec3cee5e5201c4126e630a37c96c63c09d2370d82
parentbcccd04b7a4086bf74f3a0af0ab49d6912e789b1
Reapply [llvm-lipo] Implement -create (with hardcoded alignments)

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
llvm/test/tools/llvm-lipo/Inputs/arm64-slice.yaml [new file with mode: 0644]
llvm/test/tools/llvm-lipo/Inputs/armv7-slice.yaml [new file with mode: 0644]
llvm/test/tools/llvm-lipo/Inputs/x86_64-slice.yaml [new file with mode: 0644]
llvm/test/tools/llvm-lipo/create-executable.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/create-invalid-input.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/create-without-alignment.test [new file with mode: 0644]
llvm/tools/llvm-lipo/LipoOpts.td
llvm/tools/llvm-lipo/llvm-lipo.cpp