[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / ObjectYAML / MachO / BigEndian.yaml
blob56efc82f57293cb5d08ef3cdfc1827219e5ac1dd
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
3 --- !mach-o
4 IsLittleEndian:  false
5 FileHeader:      
6   magic:           0xFEEDFACE
7   cputype:         0x00000012
8   cpusubtype:      0x00000000
9   filetype:        0x00000001
10   ncmds:           3
11   sizeofcmds:      368
12   flags:           0x00002000
13 LoadCommands:    
14   - cmd:             LC_SEGMENT
15     cmdsize:         328
16     segname:         ''
17     vmaddr:          0
18     vmsize:          236
19     fileoff:         476
20     filesize:        236
21     maxprot:         7
22     initprot:        7
23     nsects:          4
24     flags:           0
25     Sections:        
26       - sectname:        __text
27         segname:         __TEXT
28         addr:            0x0000000000000000
29         size:            188
30         offset:          0x000001DC
31         align:           4
32         reloff:          0x000002C8
33         nreloc:          9
34         flags:           0x80000400
35         reserved1:       0x00000000
36         reserved2:       0x00000000
37         reserved3:       0x00000000
38       - sectname:        __textcoal_nt
39         segname:         __TEXT
40         addr:            0x00000000000000BC
41         size:            0
42         offset:          0x00000298
43         align:           0
44         reloff:          0x00000000
45         nreloc:          0
46         flags:           0x8000000B
47         reserved1:       0x00000000
48         reserved2:       0x00000000
49         reserved3:       0x00000000
50       - sectname:        __picsymbolstub1
51         segname:         __TEXT
52         addr:            0x00000000000000BC
53         size:            0
54         offset:          0x00000298
55         align:           0
56         reloff:          0x00000000
57         nreloc:          0
58         flags:           0x80000008
59         reserved1:       0x00000000
60         reserved2:       0x00000020
61         reserved3:       0x00000000
62       - sectname:        __cstring
63         segname:         __TEXT
64         addr:            0x00000000000000BC
65         size:            48
66         offset:          0x00000298
67         align:           0
68         reloff:          0x00000000
69         nreloc:          0
70         flags:           0x00000002
71         reserved1:       0x00000000
72         reserved2:       0x00000000
73         reserved3:       0x00000000
74   - cmd:             LC_VERSION_MIN_MACOSX
75     cmdsize:         16
76     version:         658432
77     sdk:             0
78   - cmd:             LC_SYMTAB
79     cmdsize:         24
80     symoff:          784
81     nsyms:           0
82     stroff:          808
83     strsize:         36
84 LinkEditData:
85   StringTable:     
86     - ''
87     - _compilerrt_abort_impl
88     - ___absvdi2
89     - ''
90 ...
92 #CHECK: FileHeader:      
93 #CHECK:   magic:           0xFEEDFACE
94 #CHECK:   cputype:         0x12
95 #CHECK:   cpusubtype:      0x0
96 #CHECK:   filetype:        0x1
97 #CHECK:   ncmds:           3
98 #CHECK:   sizeofcmds:      368
99 #CHECK:   flags:           0x2000