xref: /llvm-project/llvm/test/tools/llvm-lipo/create-fat64.test (revision efb46515ce9bfcc1c51d935bfbf1c5680980b275)
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
3
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
6
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
9
10FAT32: fat_magic FAT_MAGIC
11FAT64: fat_magic FAT_MAGIC_64
12