thin-universal-binary-ir.test
494 Bytes
# RUN: llvm-as %p/Inputs/armv7-ios.ll -o %t-armv7.o
# RUN: llvm-as %p/Inputs/arm64-ios.ll -o %t-arm64.o
# RUN: llvm-lipo %t-armv7.o %t-arm64.o -create -output %t-universal.o
# RUN: llvm-lipo %t-universal.o -thin arm64 -output %t-arm64.out
# RUN: opt -S %t-arm64.out | FileCheck --check-prefix=ARM64 %s
# RUN: llvm-lipo %t-universal.o -thin armv7 -output %t-armv7.out
# RUN: opt -S %t-armv7.out | FileCheck --check-prefix=ARMV7 %s
# ARM64: arm64-apple-ios8.0.0
# ARMV7: thumbv7-apple-ios8.0.0