mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
3cee48a64d
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
14 lines
522 B
Plaintext
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
|