1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
39 addr: 0x0000000100000F50
51 addr: 0x0000000100000F84
61 - sectname: __stub_helper
63 addr: 0x0000000100000F8C
75 addr: 0x0000000100000FA6
85 - sectname: __unwind_info
87 addr: 0x0000000100000FB4
109 - sectname: __nl_symbol_ptr
111 addr: 0x0000000100001000
118 reserved1: 0x00000001
119 reserved2: 0x00000000
120 reserved3: 0x00000000
121 - sectname: __la_symbol_ptr
123 addr: 0x0000000100001010
130 reserved1: 0x00000003
131 reserved2: 0x00000000
132 reserved3: 0x00000000
156 - sectname: __debug_line
158 addr: 0x0000000100003000
165 reserved1: 0x00000000
166 reserved2: 0x00000000
167 reserved3: 0x00000000
168 - sectname: __debug_pubnames
170 addr: 0x0000000100003045
177 reserved1: 0x00000000
178 reserved2: 0x00000000
179 reserved3: 0x00000000
180 - sectname: __debug_pubtypes
182 addr: 0x0000000100003060
189 reserved1: 0x00000000
190 reserved2: 0x00000000
191 reserved3: 0x00000000
192 - sectname: __debug_aranges
194 addr: 0x0000000100003083
201 reserved1: 0x00000000
202 reserved2: 0x00000000
203 reserved3: 0x00000000
204 - sectname: __debug_info
206 addr: 0x00000001000030B3
213 reserved1: 0x00000000
214 reserved2: 0x00000000
215 reserved3: 0x00000000
216 - sectname: __debug_abbrev
218 addr: 0x000000010000312C
225 reserved1: 0x00000000
226 reserved2: 0x00000000
227 reserved3: 0x00000000
228 - sectname: __debug_str
230 addr: 0x0000000100003178
237 reserved1: 0x00000000
238 reserved2: 0x00000000
239 reserved3: 0x00000000
240 - sectname: __apple_names
242 addr: 0x0000000100003206
249 reserved1: 0x00000000
250 reserved2: 0x00000000
251 reserved3: 0x00000000
252 - sectname: __apple_namespac
254 addr: 0x0000000100003242
261 reserved1: 0x00000000
262 reserved2: 0x00000000
263 reserved3: 0x00000000
264 - sectname: __apple_types
266 addr: 0x0000000100003266
273 reserved1: 0x00000000
274 reserved2: 0x00000000
275 reserved3: 0x00000000
276 - sectname: __apple_objc
278 addr: 0x00000001000032D8
285 reserved1: 0x00000000
286 reserved2: 0x00000000
287 reserved3: 0x00000000
303 - __mh_execute_header
308 Tag: DW_TAG_compile_unit
309 Children: DW_CHILDREN_yes
311 - Attribute: DW_AT_producer
313 - Attribute: DW_AT_language
315 - Attribute: DW_AT_name
317 - Attribute: DW_AT_stmt_list
318 Form: DW_FORM_sec_offset
319 - Attribute: DW_AT_comp_dir
321 - Attribute: DW_AT_low_pc
323 - Attribute: DW_AT_high_pc
326 Tag: DW_TAG_subprogram
327 Children: DW_CHILDREN_yes
329 - Attribute: DW_AT_low_pc
331 - Attribute: DW_AT_high_pc
333 - Attribute: DW_AT_frame_base
334 Form: DW_FORM_exprloc
335 - Attribute: DW_AT_name
337 - Attribute: DW_AT_decl_file
339 - Attribute: DW_AT_decl_line
341 - Attribute: DW_AT_prototyped
342 Form: DW_FORM_flag_present
343 - Attribute: DW_AT_type
345 - Attribute: DW_AT_external
346 Form: DW_FORM_flag_present
348 Tag: DW_TAG_formal_parameter
349 Children: DW_CHILDREN_no
351 - Attribute: DW_AT_location
352 Form: DW_FORM_exprloc
353 - Attribute: DW_AT_name
355 - Attribute: DW_AT_decl_file
357 - Attribute: DW_AT_decl_line
359 - Attribute: DW_AT_type
362 Tag: DW_TAG_base_type
363 Children: DW_CHILDREN_no
365 - Attribute: DW_AT_name
367 - Attribute: DW_AT_encoding
369 - Attribute: DW_AT_byte_size
372 Tag: DW_TAG_pointer_type
373 Children: DW_CHILDREN_no
375 - Attribute: DW_AT_type
385 - Address: 0x0000000100000F50
394 - AbbrCode: 0x00000001
396 - Value: 0x0000000000000001
397 - Value: 0x000000000000000C
398 - Value: 0x0000000000000038
399 - Value: 0x0000000000000000
400 - Value: 0x0000000000000046
401 - Value: 0x0000000100000F50
402 - Value: 0x0000000000000034
403 - AbbrCode: 0x00000002
405 - Value: 0x0000000100000F50
406 - Value: 0x0000000000000034
407 - Value: 0x0000000000000001
410 - Value: 0x0000000000000076
411 - Value: 0x0000000000000001
412 - Value: 0x0000000000000003
413 - Value: 0x0000000000000001
414 - Value: 0x0000000000000060
415 - Value: 0x0000000000000001
416 - AbbrCode: 0x00000003
418 - Value: 0x0000000000000002
422 - Value: 0x000000000000007B
423 - Value: 0x0000000000000001
424 - Value: 0x0000000000000003
425 - Value: 0x0000000000000060
426 - AbbrCode: 0x00000003
428 - Value: 0x0000000000000002
432 - Value: 0x0000000000000080
433 - Value: 0x0000000000000001
434 - Value: 0x0000000000000003
435 - Value: 0x0000000000000067
436 - AbbrCode: 0x00000000
438 - AbbrCode: 0x00000004
440 - Value: 0x0000000000000085
441 - Value: 0x0000000000000005
442 - Value: 0x0000000000000004
443 - AbbrCode: 0x00000005
445 - Value: 0x000000000000006C
446 - AbbrCode: 0x00000005
448 - Value: 0x0000000000000071
449 - AbbrCode: 0x00000004
451 - Value: 0x0000000000000089
452 - Value: 0x0000000000000006
453 - Value: 0x0000000000000001
454 - AbbrCode: 0x00000000
466 StandardOpcodeLengths:
481 - Name: hello_world.c
486 - Opcode: DW_LNS_extended_op
488 SubOpcode: DW_LNE_set_address
492 - Opcode: DW_LNS_set_column
494 - Opcode: DW_LNS_set_prologue_end
496 - Opcode: DW_LNS_const_add_pc
502 - Opcode: DW_LNS_advance_pc
504 - Opcode: DW_LNS_extended_op
506 SubOpcode: DW_LNE_end_sequence
515 #CHECK: TotalLength: 117
517 #CHECK: AbbrOffset: 0
520 #CHECK: - AbbrCode: 0x00000001
522 #CHECK: - Value: 0x0000000000000001
523 #CHECK: - Value: 0x000000000000000C
524 #CHECK: - Value: 0x0000000000000038
525 #CHECK: - Value: 0x0000000000000000
526 #CHECK: - Value: 0x0000000000000046
527 #CHECK: - Value: 0x0000000100000F50
528 #CHECK: - Value: 0x0000000000000034
529 #CHECK: - AbbrCode: 0x00000002
531 #CHECK: - Value: 0x0000000100000F50
532 #CHECK: - Value: 0x0000000000000034
533 #CHECK: - Value: 0x0000000000000001
536 #CHECK: - Value: 0x0000000000000076
537 #CHECK: - Value: 0x0000000000000001
538 #CHECK: - Value: 0x0000000000000003
539 #CHECK: - Value: 0x0000000000000001
540 #CHECK: - Value: 0x0000000000000060
541 #CHECK: - Value: 0x0000000000000001
542 #CHECK: - AbbrCode: 0x00000003
544 #CHECK: - Value: 0x0000000000000002
548 #CHECK: - Value: 0x000000000000007B
549 #CHECK: - Value: 0x0000000000000001
550 #CHECK: - Value: 0x0000000000000003
551 #CHECK: - Value: 0x0000000000000060
552 #CHECK: - AbbrCode: 0x00000003
554 #CHECK: - Value: 0x0000000000000002
558 #CHECK: - Value: 0x0000000000000080
559 #CHECK: - Value: 0x0000000000000001
560 #CHECK: - Value: 0x0000000000000003
561 #CHECK: - Value: 0x0000000000000067
562 #CHECK: - AbbrCode: 0x00000000
564 #CHECK: - AbbrCode: 0x00000004
566 #CHECK: - Value: 0x0000000000000085
567 #CHECK: - Value: 0x0000000000000005
568 #CHECK: - Value: 0x0000000000000004
569 #CHECK: - AbbrCode: 0x00000005
571 #CHECK: - Value: 0x000000000000006C
572 #CHECK: - AbbrCode: 0x00000005
574 #CHECK: - Value: 0x0000000000000071
575 #CHECK: - AbbrCode: 0x00000004
577 #CHECK: - Value: 0x0000000000000089
578 #CHECK: - Value: 0x0000000000000006
579 #CHECK: - Value: 0x0000000000000001
580 #CHECK: - AbbrCode: 0x00000000