1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/tools/llvm-lipo/info.test
Shoaib Meenai 3cee48a64d [llvm-lipo] Implement -info
Prints architecture type of all input files.

Patch by Anusha Basana <anusha.basana@gmail.com>

Differential Revision: https://reviews.llvm.org/D64668

llvm-svn: 366772
2019-07-23 00:42:03 +00:00

14 lines
522 B
Plaintext

# 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