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.
Test Plan: check-llvm
| Paths 
 |  Differential  D64102  
[llvm-lipo] Implement -create part 1 ClosedPublic Authored by anushabasana on Jul 2 2019, 2:23 PM. 
Details 
 Summary Creates universal binary output file from input files. Currently uses hard coded value for alignment. Test Plan: check-llvm 
Diff Detail 
 Event TimelineComment Actions @mtrent We have implemented create with the -fat64 flag to specify a fat64binary, similar to cctools lipo.  
 
 Comment Actions 
 Support for fat64 is still largely experimental, and the -fat64 flag is intentionally undocumented. I suggest omitting it from llvm for now, in case we decide the implementation needs to change before we roll the feature out ourselves. Otherwise, you run the risk of forking the Mach-O file format, which would be ... unfortunate. 
 This revision is now accepted and ready to land.Jul 3 2019, 3:40 PM 
 
 
 anushabasana added inline comments. Closed by commit rL366142: [llvm-lipo] Implement -create (with hardcoded alignments) (authored by smeenai).  ยท  Explain WhyJul 15 2019, 3:30 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 208857 llvm/test/tools/llvm-lipo/Inputs/arm64-slice.yaml
 
 llvm/test/tools/llvm-lipo/Inputs/armv7-slice.yaml
 
 llvm/test/tools/llvm-lipo/Inputs/x86_64-slice.yaml
 
 llvm/test/tools/llvm-lipo/create-executable.test
 
 llvm/test/tools/llvm-lipo/create-invalid-input.test
 
 llvm/test/tools/llvm-lipo/create-without-alignment.test
 
 llvm/test/tools/llvm-lipo/thin-executable-universal-binary.test
 llvm/tools/llvm-lipo/LipoOpts.td
 llvm/tools/llvm-lipo/llvm-lipo.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
const Triple