summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lipo/info.test
blob: 1b0004667a2ce57b78fed7a86b5110195d54616a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# RUN: yaml2obj %p/Inputs/i386-slice.yaml > %t-i386.o
# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml > %t-x86_64.o
# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml > %t-universal.o

# RUN: llvm-lipo %t-universal.o %t-i386.o %t-universal.o %t-x86_64.o -info | FileCheck %s
# CHECK: Architectures in the fat file:
# CHECK: i386 x86_64
# CHECK-NEXT: Architectures in the fat file:
# CHECK: i386 x86_64
# CHECK-NEXT: Non-fat file:
# CHECK:  is architecture: i386
# CHECK-NEXT: Non-fat file:
# CHECK:  is architecture: x86_64
OpenPOWER on IntegriCloud