[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-lipo / archs-universal-binary-unknown.test
blob353a95ddb02b8dca32160650e9f722ea8ac52e70
1 # RUN: yaml2obj %s > %t
2 # Tests that the output for an unknown architecture is the same as cctools lipo
3 # RUN: llvm-lipo %t -archs 2>&1 | FileCheck %s
4 # CHECK: i386 unknown(16777367,3)
6 --- !fat-mach-o
7 FatHeader:
8   magic:           0xCAFEBABE
9   nfat_arch:       2
10 FatArchs:
11   - cputype:         0x00000007
12     cpusubtype:      0x00000003
13     offset:          0x0000000000001000
14     size:            28
15     align:           12
16   - cputype:         0x01000097
17     cpusubtype:      0x00000003
18     offset:          0x0000000000002000
19     size:            32
20     align:           12
21 Slices:
22   - !mach-o
23     FileHeader:
24       magic:           0xFEEDFACE
25       cputype:         0x00000007
26       cpusubtype:      0x00000003
27       filetype:        0x00000001
28       ncmds:           0
29       sizeofcmds:      0
30       flags:           0x00002000
31   - !mach-o
32     FileHeader:
33       magic:           0xFEEDFACF
34       cputype:         0x01000097
35       cpusubtype:      0x00000003
36       filetype:        0x00000001
37       ncmds:           0
38       sizeofcmds:      0
39       flags:           0x00002000
40       reserved:        0x00000000
41 ...