[llvm-lipo] Implement -archs
authorShoaib Meenai <smeenai@fb.com>
Fri, 7 Jun 2019 20:47:58 +0000 (20:47 +0000)
committerShoaib Meenai <smeenai@fb.com>
Fri, 7 Jun 2019 20:47:58 +0000 (20:47 +0000)
commit61f7df54e3ba58b6ea869b4523f3ffdae42ea80e
tree0e6a013a67efe91dce38236414ca4092ebb20024
parenteaea538d18c1df81877850704562bea5e4284bf8
[llvm-lipo] Implement -archs

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
llvm/test/tools/llvm-lipo/archs-macho-binary-unknown.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/archs-macho-binary.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/archs-universal-binary-arm.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/archs-universal-binary-unknown.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/archs-universal-binary-x86.test [new file with mode: 0644]
llvm/test/tools/llvm-lipo/help-error-messages.test [moved from llvm/test/tools/llvm-lipo/help-message.test with 76% similarity]
llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test
llvm/tools/llvm-lipo/LipoOpts.td
llvm/tools/llvm-lipo/llvm-lipo.cpp