Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / ObjectYAML / MachO / bogus_load_command.yaml
blobf9706dc6121782070dd36fa08550a35bc6102b81
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
3 --- !mach-o
4 FileHeader:      
5   magic:           0xFEEDFACF
6   cputype:         0x01000007
7   cpusubtype:      0x80000003
8   filetype:        0x00000002
9   ncmds:           2
10   sizeofcmds:      56
11   flags:           0x00218085
12   reserved:        0x00000000
13 LoadCommands:    
14   - cmd:             0xDEADBEEF
15     cmdsize:         32
16     ZeroPadBytes:    24
17   - cmd:             0xDEADBEEF
18     cmdsize:         24
19     PayloadBytes:
20       - 0x01
21       - 0x02
22       - 0x03
23       - 0x04
24       - 0x05
25       - 0x06
26       - 0x07
27       - 0x08
28       - 0x09
29       - 0x0A
30       - 0x0B
31       - 0x0C
32 ...
34 #CHECK:   - cmd:             0xDEADBEEF
35 #CHECK:     cmdsize:         32
36 #CHECK:     ZeroPadBytes:
37 #CHECK:   - cmd:             0xDEADBEEF
38 #CHECK:     cmdsize:         24
39 #CHECK:     PayloadBytes:    [ 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xA,
40 #CHECK:                        0xB, 0xC, 0x0, 0x0, 0x0, 0x0 ]
41 #CHECK-NOT: LinkEditData: