• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o
2# RUN: yaml2obj %p/Inputs/CPU14-slice.yaml -o %t-CPU14.o
3# RUN: yaml2obj %p/Inputs/CPU10-slice.yaml -o %t-CPU10.o
4
5# RUN: llvm-lipo %t-i386.o %t-CPU14.o %t-CPU10.o -create -output %t-universal.o
6
7# RUN: llvm-objdump %t-universal.o -m --universal-headers | FileCheck %s
8# CHECK: fat_magic FAT_MAGIC
9# CHECK: nfat_arch 3
10# CHECK: architecture
11# CHECK: cputype (10)
12# CHECK: offset 72
13# CHECK: align 2^3 (8)
14# CHECK: architecture
15# CHECK: cputype (14)
16# CHECK: offset 8544
17# CHECK: align 2^4 (16)
18# CHECK: architecture i386
19# CHECK: offset 12288
20# CHECK: align 2^12 (4096)
21