llvm-for-llvmta/test/tools/llvm-lipo/info.test

14 lines
525 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o
# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml -o %t-x86_64.o
# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %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