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
291 Tag: DW_TAG_compile_unit
292 Children: DW_CHILDREN_yes
294 - Attribute: DW_AT_producer
296 - Attribute: DW_AT_language
298 - Attribute: DW_AT_name
300 - Attribute: DW_AT_stmt_list
301 Form: DW_FORM_sec_offset
302 - Attribute: DW_AT_comp_dir
304 - Attribute: DW_AT_low_pc
306 - Attribute: DW_AT_high_pc
309 Tag: DW_TAG_subprogram
310 Children: DW_CHILDREN_yes
312 - Attribute: DW_AT_low_pc
314 - Attribute: DW_AT_high_pc
316 - Attribute: DW_AT_frame_base
317 Form: DW_FORM_exprloc
318 - Attribute: DW_AT_name
320 - Attribute: DW_AT_decl_file
322 - Attribute: DW_AT_decl_line
324 - Attribute: DW_AT_prototyped
325 Form: DW_FORM_flag_present
326 - Attribute: DW_AT_type
328 - Attribute: DW_AT_external
329 Form: DW_FORM_flag_present
331 Tag: DW_TAG_formal_parameter
332 Children: DW_CHILDREN_no
334 - Attribute: DW_AT_location
335 Form: DW_FORM_exprloc
336 - Attribute: DW_AT_name
338 - Attribute: DW_AT_decl_file
340 - Attribute: DW_AT_decl_line
342 - Attribute: DW_AT_type
345 Tag: DW_TAG_base_type
346 Children: DW_CHILDREN_no
348 - Attribute: DW_AT_name
350 - Attribute: DW_AT_encoding
352 - Attribute: DW_AT_byte_size
355 Tag: DW_TAG_pointer_type
356 Children: DW_CHILDREN_no
358 - Attribute: DW_AT_type
363 #CHECK: debug_abbrev:
364 #CHECK: - Code: 0x00000001
365 #CHECK: Tag: DW_TAG_compile_unit
366 #CHECK: Children: DW_CHILDREN_yes
368 #CHECK: - Attribute: DW_AT_producer
369 #CHECK: Form: DW_FORM_strp
370 #CHECK: - Attribute: DW_AT_language
371 #CHECK: Form: DW_FORM_data2
372 #CHECK: - Attribute: DW_AT_name
373 #CHECK: Form: DW_FORM_strp
374 #CHECK: - Attribute: DW_AT_stmt_list
375 #CHECK: Form: DW_FORM_sec_offset
376 #CHECK: - Attribute: DW_AT_comp_dir
377 #CHECK: Form: DW_FORM_strp
378 #CHECK: - Attribute: DW_AT_low_pc
379 #CHECK: Form: DW_FORM_addr
380 #CHECK: - Attribute: DW_AT_high_pc
381 #CHECK: Form: DW_FORM_data4
382 #CHECK: - Code: 0x00000002
383 #CHECK: Tag: DW_TAG_subprogram
384 #CHECK: Children: DW_CHILDREN_yes
386 #CHECK: - Attribute: DW_AT_low_pc
387 #CHECK: Form: DW_FORM_addr
388 #CHECK: - Attribute: DW_AT_high_pc
389 #CHECK: Form: DW_FORM_data4
390 #CHECK: - Attribute: DW_AT_frame_base
391 #CHECK: Form: DW_FORM_exprloc
392 #CHECK: - Attribute: DW_AT_name
393 #CHECK: Form: DW_FORM_strp
394 #CHECK: - Attribute: DW_AT_decl_file
395 #CHECK: Form: DW_FORM_data1
396 #CHECK: - Attribute: DW_AT_decl_line
397 #CHECK: Form: DW_FORM_data1
398 #CHECK: - Attribute: DW_AT_prototyped
399 #CHECK: Form: DW_FORM_flag_present
400 #CHECK: - Attribute: DW_AT_type
401 #CHECK: Form: DW_FORM_ref4
402 #CHECK: - Attribute: DW_AT_external
403 #CHECK: Form: DW_FORM_flag_present
404 #CHECK: - Code: 0x00000003
405 #CHECK: Tag: DW_TAG_formal_parameter
406 #CHECK: Children: DW_CHILDREN_no
408 #CHECK: - Attribute: DW_AT_location
409 #CHECK: Form: DW_FORM_exprloc
410 #CHECK: - Attribute: DW_AT_name
411 #CHECK: Form: DW_FORM_strp
412 #CHECK: - Attribute: DW_AT_decl_file
413 #CHECK: Form: DW_FORM_data1
414 #CHECK: - Attribute: DW_AT_decl_line
415 #CHECK: Form: DW_FORM_data1
416 #CHECK: - Attribute: DW_AT_type
417 #CHECK: Form: DW_FORM_ref4
418 #CHECK: - Code: 0x00000004
419 #CHECK: Tag: DW_TAG_base_type
420 #CHECK: Children: DW_CHILDREN_no
422 #CHECK: - Attribute: DW_AT_name
423 #CHECK: Form: DW_FORM_strp
424 #CHECK: - Attribute: DW_AT_encoding
425 #CHECK: Form: DW_FORM_data1
426 #CHECK: - Attribute: DW_AT_byte_size
427 #CHECK: Form: DW_FORM_data1
428 #CHECK: - Code: 0x00000005
429 #CHECK: Tag: DW_TAG_pointer_type
430 #CHECK: Children: DW_CHILDREN_no
432 #CHECK: - Attribute: DW_AT_type
433 #CHECK: Form: DW_FORM_ref4