[ARM] Cortex-M4 schedule additions
[llvm-complete.git] / test / tools / llvm-readobj / macho-sections.test
blob37c6567164b620d9621195ff4a6e83f236eb9b8e
1 ## Show that llvm-readobj prints MachO all section types properly.
2 # RUN: yaml2obj %s > %t
3 # RUN: llvm-readobj --sections %t | FileCheck %s
5 # CHECK:  Type: Regular (0x0)
6 # CHECK:  Type: ZeroFill (0x1)
7 # CHECK:  Type: CStringLiterals (0x2)
8 # CHECK:  Type: 4ByteLiterals (0x3)
9 # CHECK:  Type: 8ByteLiterals (0x4)
10 # CHECK:  Type: LiteralPointers (0x5)
11 # CHECK:  Type: NonLazySymbolPointers (0x6)
12 # CHECK:  Type: LazySymbolPointers (0x7)
13 # CHECK:  Type: SymbolStubs (0x8)
14 # CHECK:  Type: ModInitFuncPointers (0x9)
15 # CHECK:  Type: ModTermFuncPointers (0xA)
16 # CHECK:  Type: Coalesced (0xB)
17 # CHECK:  Type: GBZeroFill (0xC)
18 # CHECK:  Type: Interposing (0xD)
19 # CHECK:  Type: 16ByteLiterals (0xE)
20 # CHECK:  Type: DTraceDOF (0xF)
21 # CHECK:  Type: LazyDylibSymbolPointers (0x10)
22 # CHECK:  Type: ThreadLocalRegular (0x11)
23 # CHECK:  Type: ThreadLocalZerofill (0x12)
24 # CHECK:  Type: ThreadLocalVariables (0x13)
25 # CHECK:  Type: ThreadLocalVariablePointers (0x14)
26 # CHECK:  Type: ThreadLocalInitFunctionPointers (0x15)
28 --- !mach-o
29 FileHeader:
30   magic:           0xFEEDFACF
31   cputype:         0x01000007
32   cpusubtype:      0x80000003
33   filetype:        0x00000002
34   ncmds:           1
35   sizeofcmds:      1832
36   flags:           0x00002000
37   reserved:        0x00000000
38 LoadCommands:
39   - cmd:             LC_SEGMENT_64
40     cmdsize:         1832
41     segname:         ''
42     vmaddr:          0x0000000000001000
43     vmsize:          4096
44     fileoff:         0
45     filesize:        4096
46     maxprot:         7
47     initprot:        7
48     nsects:          22
49     flags:           0
50     Sections:
51       - sectname:        ''
52         segname:         ''
53         addr:            0x000000000000000
54         size:            0
55         offset:          0x00000000
56         align:           0
57         reloff:          0x00000000
58         nreloc:          0
59         flags:           0x00000000
60         reserved1:       0x00000000
61         reserved2:       0x00000000
62         reserved3:       0x00000000
63       - sectname:        ''
64         segname:         ''
65         addr:            0x000000000000000
66         size:            0
67         offset:          0x00000000
68         align:           0
69         reloff:          0x00000000
70         nreloc:          0
71         flags:           0x00000001
72         reserved1:       0x00000000
73         reserved2:       0x00000000
74         reserved3:       0x00000000
75       - sectname:        ''
76         segname:         ''
77         addr:            0x000000000000000
78         size:            0
79         offset:          0x00000000
80         align:           0
81         reloff:          0x00000000
82         nreloc:          0
83         flags:           0x00000002
84         reserved1:       0x00000000
85         reserved2:       0x00000000
86         reserved3:       0x00000000
87       - sectname:        ''
88         segname:         ''
89         addr:            0x000000000000000
90         size:            0
91         offset:          0x00000000
92         align:           0
93         reloff:          0x00000000
94         nreloc:          0
95         flags:           0x00000003
96         reserved1:       0x00000000
97         reserved2:       0x00000000
98         reserved3:       0x00000000
99       - sectname:        ''
100         segname:         ''
101         addr:            0x000000000000000
102         size:            0
103         offset:          0x00000000
104         align:           0
105         reloff:          0x00000000
106         nreloc:          0
107         flags:           0x00000004
108         reserved1:       0x00000000
109         reserved2:       0x00000000
110         reserved3:       0x00000000
111       - sectname:        ''
112         segname:         ''
113         addr:            0x000000000000000
114         size:            0
115         offset:          0x00000000
116         align:           0
117         reloff:          0x00000000
118         nreloc:          0
119         flags:           0x00000005
120         reserved1:       0x00000000
121         reserved2:       0x00000000
122         reserved3:       0x00000000
123       - sectname:        ''
124         segname:         ''
125         addr:            0x000000000000000
126         size:            0
127         offset:          0x00000000
128         align:           0
129         reloff:          0x00000000
130         nreloc:          0
131         flags:           0x00000006
132         reserved1:       0x00000000
133         reserved2:       0x00000000
134         reserved3:       0x00000000
135       - sectname:        ''
136         segname:         ''
137         addr:            0x000000000000000
138         size:            0
139         offset:          0x00000000
140         align:           0
141         reloff:          0x00000000
142         nreloc:          0
143         flags:           0x00000007
144         reserved1:       0x00000000
145         reserved2:       0x00000000
146         reserved3:       0x00000000
147       - sectname:        ''
148         segname:         ''
149         addr:            0x000000000000000
150         size:            0
151         offset:          0x00000000
152         align:           0
153         reloff:          0x00000000
154         nreloc:          0
155         flags:           0x00000008
156         reserved1:       0x00000000
157         reserved2:       0x00000000
158         reserved3:       0x00000000
159       - sectname:        ''
160         segname:         ''
161         addr:            0x000000000000000
162         size:            0
163         offset:          0x00000000
164         align:           0
165         reloff:          0x00000000
166         nreloc:          0
167         flags:           0x00000009
168         reserved1:       0x00000000
169         reserved2:       0x00000000
170         reserved3:       0x00000000
171       - sectname:        ''
172         segname:         ''
173         addr:            0x000000000000000
174         size:            0
175         offset:          0x00000000
176         align:           0
177         reloff:          0x00000000
178         nreloc:          0
179         flags:           0x0000000a
180         reserved1:       0x00000000
181         reserved2:       0x00000000
182         reserved3:       0x00000000
183       - sectname:        ''
184         segname:         ''
185         addr:            0x000000000000000
186         size:            0
187         offset:          0x00000000
188         align:           0
189         reloff:          0x00000000
190         nreloc:          0
191         flags:           0x0000000b
192         reserved1:       0x00000000
193         reserved2:       0x00000000
194         reserved3:       0x00000000
195       - sectname:        ''
196         segname:         ''
197         addr:            0x000000000000000
198         size:            0
199         offset:          0x00000000
200         align:           0
201         reloff:          0x00000000
202         nreloc:          0
203         flags:           0x0000000c
204         reserved1:       0x00000000
205         reserved2:       0x00000000
206         reserved3:       0x00000000
207       - sectname:        ''
208         segname:         ''
209         addr:            0x000000000000000
210         size:            0
211         offset:          0x00000000
212         align:           0
213         reloff:          0x00000000
214         nreloc:          0
215         flags:           0x0000000d
216         reserved1:       0x00000000
217         reserved2:       0x00000000
218         reserved3:       0x00000000
219       - sectname:        ''
220         segname:         ''
221         addr:            0x000000000000000
222         size:            0
223         offset:          0x00000000
224         align:           0
225         reloff:          0x00000000
226         nreloc:          0
227         flags:           0x0000000e
228         reserved1:       0x00000000
229         reserved2:       0x00000000
230         reserved3:       0x00000000
231       - sectname:        ''
232         segname:         ''
233         addr:            0x000000000000000
234         size:            0
235         offset:          0x00000000
236         align:           0
237         reloff:          0x00000000
238         nreloc:          0
239         flags:           0x0000000f
240         reserved1:       0x00000000
241         reserved2:       0x00000000
242         reserved3:       0x00000000
243       - sectname:        ''
244         segname:         ''
245         addr:            0x000000000000000
246         size:            0
247         offset:          0x00000000
248         align:           0
249         reloff:          0x00000000
250         nreloc:          0
251         flags:           0x00000010
252         reserved1:       0x00000000
253         reserved2:       0x00000000
254         reserved3:       0x00000000
255       - sectname:        ''
256         segname:         ''
257         addr:            0x000000000000000
258         size:            0
259         offset:          0x00000000
260         align:           0
261         reloff:          0x00000000
262         nreloc:          0
263         flags:           0x00000011
264         reserved1:       0x00000000
265         reserved2:       0x00000000
266         reserved3:       0x00000000
267       - sectname:        ''
268         segname:         ''
269         addr:            0x000000000000000
270         size:            0
271         offset:          0x00000000
272         align:           0
273         reloff:          0x00000000
274         nreloc:          0
275         flags:           0x00000012
276         reserved1:       0x00000000
277         reserved2:       0x00000000
278         reserved3:       0x00000000
279       - sectname:        ''
280         segname:         ''
281         addr:            0x000000000000000
282         size:            0
283         offset:          0x00000000
284         align:           0
285         reloff:          0x00000000
286         nreloc:          0
287         flags:           0x00000013
288         reserved1:       0x00000000
289         reserved2:       0x00000000
290         reserved3:       0x00000000
291       - sectname:        ''
292         segname:         ''
293         addr:            0x000000000000000
294         size:            0
295         offset:          0x00000000
296         align:           0
297         reloff:          0x00000000
298         nreloc:          0
299         flags:           0x00000014
300         reserved1:       0x00000000
301         reserved2:       0x00000000
302         reserved3:       0x00000000
303       - sectname:        ''
304         segname:         ''
305         addr:            0x000000000000000
306         size:            0
307         offset:          0x00000000
308         align:           0
309         reloff:          0x00000000
310         nreloc:          0
311         flags:           0x00000015
312         reserved1:       0x00000000
313         reserved2:       0x00000000
314         reserved3:       0x00000000