[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-lipo / archs-universal-binary-arm.test
blob81c112593a419cceabf2e601dbdf89b51dd99e52
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-lipo %t -archs | FileCheck %s
3 # CHECK: armv7k arm64
5 --- !fat-mach-o
6 FatHeader:
7   magic:           0xCAFEBABE
8   nfat_arch:       2
9 FatArchs:
10   - cputype:         0x0000000C
11     cpusubtype:      0x0000000C
12     offset:          0x0000000000004000
13     size:            28
14     align:           14
15   - cputype:         0x0100000C
16     cpusubtype:      0x00000000
17     offset:          0x000000000001C000
18     size:            32
19     align:           14
20 Slices:
21   - !mach-o
22     FileHeader:
23       magic:           0xFEEDFACE
24       cputype:         0x0000000C
25       cpusubtype:      0x0000000C
26       filetype:        0x00000002
27       ncmds:           0
28       sizeofcmds:      0
29       flags:           0x00200085
30   - !mach-o
31     FileHeader:
32       magic:           0xFEEDFACF
33       cputype:         0x0100000C
34       cpusubtype:      0x00000000
35       filetype:        0x00000002
36       ncmds:           0
37       sizeofcmds:      0
38       flags:           0x00210085
39       reserved:        0x00000000
40 ...