brintos

brintos / llvm-project-archived public Read only

0
0
Text · 627 B · 4180220 Raw
17 lines · plain
1# RUN: llvm-as %p/Inputs/armv7-ios.ll -o %t-armv7.o2# RUN: llvm-as %p/Inputs/arm64-ios.ll -o %t-arm64.o3# RUN: llvm-as %p/Inputs/x64-osx.ll -o %t-x64.o4 5# RUN: llvm-lipo %t-arm64.o %t-x64.o -create -output %t-universal0.o6# RUN: llvm-lipo -info %t-universal0.o | FileCheck %s7#8# CHECK: Architectures in the fat file: {{.*}} are: x86_64 arm649 10# Test that, despites the "thumbv7" triple present in armv7-ios.ll,11# architecture is still reported as armv712# RUN: llvm-lipo %t-armv7.o -create -output %t-universal1.o13# RUN: llvm-lipo -info %t-universal1.o | FileCheck --check-prefix=ARMV7 %s14#15# ARMV7: armv716# ARMV7-NOT: thumbv717