]> granicus.if.org Git - llvm/commit
[llvm-lipo] Relax the check of the specified input file architecture
authorAlexander Shaposhnikov <shal1t712@gmail.com>
Mon, 7 Oct 2019 21:14:22 +0000 (21:14 +0000)
committerAlexander Shaposhnikov <shal1t712@gmail.com>
Mon, 7 Oct 2019 21:14:22 +0000 (21:14 +0000)
commitf6c27eb345ff9c9b1a02a94df930ef2074aae760
treed4af5c7222a99112f1f1e83f15d6764f4d11b134
parent80f3baed732a274d0347cdcb2b8db2bb96009f0e
[llvm-lipo] Relax the check of the specified input file architecture

cctools lipo only compares the cputypes when it verifies that
the specified (via -arch) input file and the architecture match.
This diff adjusts the behavior of llvm-lipo accordingly.

Differential revision: https://reviews.llvm.org/D68319

Test plan: make check-all

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373966 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-lipo/llvm-lipo.cpp