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
4 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal-32.o
5 # RUN: llvm-objdump -m --universal-headers %t-universal-32.o | FileCheck %s -check-prefixes=FAT32
7 # RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -fat64 -output %t-universal-64.o
8 # RUN: llvm-objdump -m --universal-headers %t-universal-64.o | FileCheck %s -check-prefixes=FAT64
10 FAT32: fat_magic FAT_MAGIC
11 FAT64: fat_magic FAT_MAGIC_64