[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
[llvm-core.git] / test / ObjectYAML / MachO / bogus_load_command.yaml
blobf37f733b34cf5f318cf6efd69063fc1d5aa2f8a6
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:
40 #CHECK:       - 0x01
41 #CHECK:       - 0x02
42 #CHECK:       - 0x03
43 #CHECK:       - 0x04
44 #CHECK:       - 0x05
45 #CHECK:       - 0x06
46 #CHECK:       - 0x07
47 #CHECK:       - 0x08
48 #CHECK:       - 0x09
49 #CHECK:       - 0x0A
50 #CHECK:       - 0x0B
51 #CHECK:       - 0x0C
52 #CHECK-NOT: LinkEditData: