[llvm-lipo] Implement alignment function in -create
authorShoaib Meenai <smeenai@fb.com>
Thu, 25 Jul 2019 00:29:19 +0000 (00:29 +0000)
committerShoaib Meenai <smeenai@fb.com>
Thu, 25 Jul 2019 00:29:19 +0000 (00:29 +0000)
commit5aee1c6b102fcc4890a5fa73e320f850328024b3
tree61f76ed7a9e6541634d866153a8056c6746c0c0b
parenta67f6f17467fcb4703b857cd0f467530e373d06c
[llvm-lipo] Implement alignment function in -create

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/test/tools/llvm-lipo/Inputs/CPU10-slice.yaml [new file with mode: 0644]
llvm/test/tools/llvm-lipo/Inputs/CPU14-slice.yaml [new file with mode: 0644]
llvm/test/tools/llvm-lipo/create-compute-alignment.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/create-default-alignment.test [moved from llvm/test/tools/llvm-lipo/create-without-alignment.test with 100% similarity]
llvm/tools/llvm-lipo/llvm-lipo.cpp