[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / tools / llvm-objcopy / MachO / Inputs / strip-all-with-dwarf.yaml
blob09a7292ca634ce0535e65b3ca739d25c7a6cd287
1 --- !mach-o
2 FileHeader:
3   magic:           0xFEEDFACF
4   cputype:         0x01000007
5   cpusubtype:      0x00000003
6   filetype:        0x00000001
7   ncmds:           4
8   sizeofcmds:      1240
9   flags:           0x00002000
10   reserved:        0x00000000
11 LoadCommands:
12   - cmd:             LC_SEGMENT_64
13     cmdsize:         1112
14     segname:         ''
15     vmaddr:          0
16     vmsize:          798
17     fileoff:         1272
18     filesize:        798
19     maxprot:         7
20     initprot:        7
21     nsects:          13
22     flags:           0
23     Sections:
24       - sectname:        __text
25         segname:         __TEXT
26         addr:            0x0000000000000000
27         size:            36
28         offset:          0x000004F8
29         align:           4
30         reloff:          0x00000818
31         nreloc:          2
32         flags:           0x80000400
33         reserved1:       0x00000000
34         reserved2:       0x00000000
35         reserved3:       0x00000000
36         relocations:
37           - address:         0x0
38             symbolnum:       0
39             pcrel:           false
40             length:          0
41             extern:          true
42             type:            0
43             scattered:       false
44             value:           0
45           - address:         0x0
46             symbolnum:       1
47             pcrel:           false
48             length:          0
49             extern:          true
50             type:            0
51             scattered:       false
52             value:           0
53       - sectname:        __data
54         segname:         __DATA
55         addr:            0x0000000000000024
56         size:            4
57         offset:          0x0000051C
58         align:           2
59         reloff:          0x00000000
60         nreloc:          0
61         flags:           0x00000000
62         reserved1:       0x00000000
63         reserved2:       0x00000000
64         reserved3:       0x00000000
65       - sectname:        __debug_str
66         segname:         __DWARF
67         addr:            0x0000000000000028
68         size:            117
69         offset:          0x00000520
70         align:           0
71         reloff:          0x00000000
72         nreloc:          0
73         flags:           0x02000000
74         reserved1:       0x00000000
75         reserved2:       0x00000000
76         reserved3:       0x00000000
77       - sectname:        __debug_abbrev
78         segname:         __DWARF
79         addr:            0x000000000000009D
80         size:            84
81         offset:          0x00000595
82         align:           0
83         reloff:          0x00000000
84         nreloc:          0
85         flags:           0x02000000
86         reserved1:       0x00000000
87         reserved2:       0x00000000
88         reserved3:       0x00000000
89       - sectname:        __debug_info
90         segname:         __DWARF
91         addr:            0x00000000000000F1
92         size:            117
93         offset:          0x000005E9
94         align:           0
95         reloff:          0x00000828
96         nreloc:          4
97         flags:           0x02000000
98         reserved1:       0x00000000
99         reserved2:       0x00000000
100         reserved3:       0x00000000
101         relocations:
102           - address:         0x0
103             symbolnum:       0
104             pcrel:           false
105             length:          0
106             extern:          true
107             type:            0
108             scattered:       false
109             value:           0
110           - address:         0x0
111             symbolnum:       0
112             pcrel:           false
113             length:          0
114             extern:          true
115             type:            0
116             scattered:       false
117             value:           0
118           - address:         0x0
119             symbolnum:       0
120             pcrel:           false
121             length:          0
122             extern:          true
123             type:            0
124             scattered:       false
125             value:           0
126           - address:         0x0
127             symbolnum:       0
128             pcrel:           false
129             length:          0
130             extern:          true
131             type:            0
132             scattered:       false
133             value:           0
134       - sectname:        __debug_macinfo
135         segname:         __DWARF
136         addr:            0x0000000000000166
137         size:            1
138         offset:          0x0000065E
139         align:           0
140         reloff:          0x00000000
141         nreloc:          0
142         flags:           0x02000000
143         reserved1:       0x00000000
144         reserved2:       0x00000000
145         reserved3:       0x00000000
146       - sectname:        __apple_names
147         segname:         __DWARF
148         addr:            0x0000000000000167
149         size:            116
150         offset:          0x0000065F
151         align:           0
152         reloff:          0x00000000
153         nreloc:          0
154         flags:           0x02000000
155         reserved1:       0x00000000
156         reserved2:       0x00000000
157         reserved3:       0x00000000
158       - sectname:        __apple_objc
159         segname:         __DWARF
160         addr:            0x00000000000001DB
161         size:            36
162         offset:          0x000006D3
163         align:           0
164         reloff:          0x00000000
165         nreloc:          0
166         flags:           0x02000000
167         reserved1:       0x00000000
168         reserved2:       0x00000000
169         reserved3:       0x00000000
170       - sectname:        __apple_namespac
171         segname:         __DWARF
172         addr:            0x00000000000001FF
173         size:            36
174         offset:          0x000006F7
175         align:           0
176         reloff:          0x00000000
177         nreloc:          0
178         flags:           0x02000000
179         reserved1:       0x00000000
180         reserved2:       0x00000000
181         reserved3:       0x00000000
182       - sectname:        __apple_types
183         segname:         __DWARF
184         addr:            0x0000000000000223
185         size:            71
186         offset:          0x0000071B
187         align:           0
188         reloff:          0x00000000
189         nreloc:          0
190         flags:           0x02000000
191         reserved1:       0x00000000
192         reserved2:       0x00000000
193         reserved3:       0x00000000
194       - sectname:        __compact_unwind
195         segname:         __LD
196         addr:            0x0000000000000270
197         size:            32
198         offset:          0x00000768
199         align:           3
200         reloff:          0x00000848
201         nreloc:          1
202         flags:           0x02000000
203         reserved1:       0x00000000
204         reserved2:       0x00000000
205         reserved3:       0x00000000
206         relocations:
207           - address:         0x0
208             symbolnum:       0
209             pcrel:           false
210             length:          0
211             extern:          true
212             type:            0
213             scattered:       false
214             value:           0
215       - sectname:        __eh_frame
216         segname:         __TEXT
217         addr:            0x0000000000000290
218         size:            64
219         offset:          0x00000788
220         align:           3
221         reloff:          0x00000000
222         nreloc:          0
223         flags:           0x6800000B
224         reserved1:       0x00000000
225         reserved2:       0x00000000
226         reserved3:       0x00000000
227       - sectname:        __debug_line
228         segname:         __DWARF
229         addr:            0x00000000000002D0
230         size:            78
231         offset:          0x000007C8
232         align:           0
233         reloff:          0x00000850
234         nreloc:          1
235         flags:           0x02000000
236         reserved1:       0x00000000
237         reserved2:       0x00000000
238         reserved3:       0x00000000
239         relocations:
240           - address:         0x0
241             symbolnum:       0
242             pcrel:           false
243             length:          0
244             extern:          true
245             type:            0
246             scattered:       false
247             value:           0
248   - cmd:             LC_BUILD_VERSION
249     cmdsize:         24
250     platform:        1
251     minos:           658944
252     sdk:             0
253     ntools:          0
254   - cmd:             LC_SYMTAB
255     cmdsize:         24
256     symoff:          2136
257     nsyms:           4
258     stroff:          2204
259     strsize:         40
260   - cmd:             LC_DYSYMTAB
261     cmdsize:         80
262     ilocalsym:       0
263     nlocalsym:       1
264     iextdefsym:      1
265     nextdefsym:      1
266     iundefsym:       2
267     nundefsym:       1
268     tocoff:          0
269     ntoc:            0
270     modtaboff:       0
271     nmodtab:         0
272     extrefsymoff:    0
273     nextrefsyms:     0
274     indirectsymoff:  0
275     nindirectsyms:   0
276     extreloff:       0
277     nextrel:         0
278     locreloff:       0
279     nlocrel:         0
280 LinkEditData:
281   NameList:
282     - n_strx:          21
283       n_type:          0x0E
284       n_sect:          2
285       n_desc:          0
286       n_value:         36
287     - n_strx:          31
288       n_type:          0x0F
289       n_sect:          1
290       n_desc:          0
291       n_value:         0
292     ## __mh_execute_header
293     - n_strx:          1
294       n_type:          0xF
295       n_sect:          1
296       ## ReferencedDynamically (0x10)
297       n_desc:          16
298       n_value:         4294967296
299     - n_strx:          26
300       n_type:          0x01
301       n_sect:          0
302       n_desc:          512
303       n_value:         4
304   StringTable:
305     - ''
306     - __mh_execute_header
307     - _bar
308     - _foo
309     - _main
310     - ''
311     - ''
312     - ''
313 DWARF:
314   debug_str:
315     - 'Apple LLVM version 10.0.1 (clang-1001.0.46.4)'
316     - strip-test.c
317     - '/Users/seiya/dev/llvm-project/llvm/build'
318     - foo
319     - int
320     - bar
321     - main
322   debug_abbrev:
323     - Table:
324         - Code:            0x00000001
325           Tag:             DW_TAG_compile_unit
326           Children:        DW_CHILDREN_yes
327           Attributes:
328             - Attribute:       DW_AT_producer
329               Form:            DW_FORM_strp
330             - Attribute:       DW_AT_language
331               Form:            DW_FORM_data2
332             - Attribute:       DW_AT_name
333               Form:            DW_FORM_strp
334             - Attribute:       DW_AT_stmt_list
335               Form:            DW_FORM_sec_offset
336             - Attribute:       DW_AT_comp_dir
337               Form:            DW_FORM_strp
338             - Attribute:       DW_AT_low_pc
339               Form:            DW_FORM_addr
340             - Attribute:       DW_AT_high_pc
341               Form:            DW_FORM_data4
342         - Code:            0x00000002
343           Tag:             DW_TAG_variable
344           Children:        DW_CHILDREN_no
345           Attributes:
346             - Attribute:       DW_AT_name
347               Form:            DW_FORM_strp
348             - Attribute:       DW_AT_type
349               Form:            DW_FORM_ref4
350             - Attribute:       DW_AT_external
351               Form:            DW_FORM_flag_present
352             - Attribute:       DW_AT_decl_file
353               Form:            DW_FORM_data1
354             - Attribute:       DW_AT_decl_line
355               Form:            DW_FORM_data1
356             - Attribute:       DW_AT_location
357               Form:            DW_FORM_exprloc
358         - Code:            0x00000003
359           Tag:             DW_TAG_base_type
360           Children:        DW_CHILDREN_no
361           Attributes:
362             - Attribute:       DW_AT_name
363               Form:            DW_FORM_strp
364             - Attribute:       DW_AT_encoding
365               Form:            DW_FORM_data1
366             - Attribute:       DW_AT_byte_size
367               Form:            DW_FORM_data1
368         - Code:            0x00000004
369           Tag:             DW_TAG_variable
370           Children:        DW_CHILDREN_no
371           Attributes:
372             - Attribute:       DW_AT_name
373               Form:            DW_FORM_strp
374             - Attribute:       DW_AT_type
375               Form:            DW_FORM_ref4
376             - Attribute:       DW_AT_decl_file
377               Form:            DW_FORM_data1
378             - Attribute:       DW_AT_decl_line
379               Form:            DW_FORM_data1
380             - Attribute:       DW_AT_location
381               Form:            DW_FORM_exprloc
382         - Code:            0x00000005
383           Tag:             DW_TAG_subprogram
384           Children:        DW_CHILDREN_no
385           Attributes:
386             - Attribute:       DW_AT_low_pc
387               Form:            DW_FORM_addr
388             - Attribute:       DW_AT_high_pc
389               Form:            DW_FORM_data4
390             - Attribute:       DW_AT_frame_base
391               Form:            DW_FORM_exprloc
392             - Attribute:       DW_AT_name
393               Form:            DW_FORM_strp
394             - Attribute:       DW_AT_decl_file
395               Form:            DW_FORM_data1
396             - Attribute:       DW_AT_decl_line
397               Form:            DW_FORM_data1
398             - Attribute:       DW_AT_type
399               Form:            DW_FORM_ref4
400             - Attribute:       DW_AT_external
401               Form:            DW_FORM_flag_present
402   debug_info:
403     - Version:         4
404       AbbrOffset:      0
405       AddrSize:        8
406       Entries:
407         - AbbrCode:        0x00000001
408           Values:
409             - Value:           0x0000000000000000
410             - Value:           0x000000000000000C
411             - Value:           0x000000000000002E
412             - Value:           0x0000000000000000
413             - Value:           0x000000000000003B
414             - Value:           0x0000000000000000
415             - Value:           0x0000000000000024
416         - AbbrCode:        0x00000002
417           Values:
418             - Value:           0x0000000000000064
419             - Value:           0x000000000000003F
420             - Value:           0x0000000000000001
421             - Value:           0x0000000000000001
422             - Value:           0x0000000000000001
423             - Value:           0x0000000000000009
424               BlockData:
425                 - 0x03
426                 - 0x00
427                 - 0x00
428                 - 0x00
429                 - 0x00
430                 - 0x00
431                 - 0x00
432                 - 0x00
433                 - 0x00
434         - AbbrCode:        0x00000003
435           Values:
436             - Value:           0x0000000000000068
437             - Value:           0x0000000000000005
438             - Value:           0x0000000000000004
439         - AbbrCode:        0x00000004
440           Values:
441             - Value:           0x000000000000006C
442             - Value:           0x000000000000003F
443             - Value:           0x0000000000000001
444             - Value:           0x0000000000000002
445             - Value:           0x0000000000000009
446               BlockData:
447                 - 0x03
448                 - 0x24
449                 - 0x00
450                 - 0x00
451                 - 0x00
452                 - 0x00
453                 - 0x00
454                 - 0x00
455                 - 0x00
456         - AbbrCode:        0x00000005
457           Values:
458             - Value:           0x0000000000000000
459             - Value:           0x0000000000000024
460             - Value:           0x0000000000000001
461               BlockData:
462                 - 0x56
463             - Value:           0x0000000000000070
464             - Value:           0x0000000000000001
465             - Value:           0x0000000000000003
466             - Value:           0x000000000000003F
467             - Value:           0x0000000000000001
468         - AbbrCode:        0x00000000
469   debug_line:
470     - Length:          74
471       Version:         4
472       PrologueLength:  36
473       MinInstLength:   1
474       MaxOpsPerInst:   1
475       DefaultIsStmt:   1
476       LineBase:        251
477       LineRange:       14
478       OpcodeBase:      13
479       StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ]
480       Files:
481         - Name:            strip-test.c
482           DirIdx:          0
483           ModTime:         0
484           Length:          0
485       Opcodes:
486         - Opcode:          DW_LNS_extended_op
487           ExtLen:          9
488           SubOpcode:       DW_LNE_set_address
489           Data:            0
490         - Opcode:          0x14
491           Data:            0
492         - Opcode:          DW_LNS_set_column
493           Data:            7
494         - Opcode:          DW_LNS_set_prologue_end
495           Data:            7
496         - Opcode:          DW_LNS_const_add_pc
497           Data:            7
498         - Opcode:          0x21
499           Data:            7
500         - Opcode:          DW_LNS_set_column
501           Data:            10
502         - Opcode:          0x67
503           Data:            10
504         - Opcode:          DW_LNS_set_column
505           Data:            14
506         - Opcode:          DW_LNS_negate_stmt
507           Data:            14
508         - Opcode:          0x2E
509           Data:            14
510         - Opcode:          DW_LNS_set_column
511           Data:            3
512         - Opcode:          0x66
513           Data:            3
514         - Opcode:          DW_LNS_advance_pc
515           Data:            4
516         - Opcode:          DW_LNS_extended_op
517           ExtLen:          1
518           SubOpcode:       DW_LNE_end_sequence
519           Data:            4