xref: /llvm-project/llvm/test/tools/llvm-lipo/info.test (revision 55c81d4282c5da0189711261a11537bc8a7fe85c)
1# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o
2# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml -o %t-x86_64.o
3# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
4
5# RUN: llvm-lipo %t-universal.o %t-i386.o %t-universal.o %t-x86_64.o -info | FileCheck %s
6# CHECK: Architectures in the fat file:
7# CHECK: i386 x86_64
8# CHECK-NEXT: Architectures in the fat file:
9# CHECK: i386 x86_64
10# CHECK-NEXT: Non-fat file:
11# CHECK:  is architecture: i386
12# CHECK-NEXT: Non-fat file:
13# CHECK:  is architecture: x86_64
14