1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
28 addr: 0x0000000000000000
38 - sectname: __textcoal_nt
40 addr: 0x00000000000000BC
50 - sectname: __picsymbolstub1
52 addr: 0x00000000000000BC
64 addr: 0x00000000000000BC
74 - sectname: __debug_str
76 addr: 0x00000000000000EC
86 - sectname: __debug_loc
88 addr: 0x00000000000001A2
98 - sectname: __debug_abbrev
100 addr: 0x00000000000001A2
107 reserved1: 0x00000000
108 reserved2: 0x00000000
109 reserved3: 0x00000000
110 - sectname: __debug_info
112 addr: 0x000000000000020A
119 reserved1: 0x00000000
120 reserved2: 0x00000000
121 reserved3: 0x00000000
122 - sectname: __debug_ranges
124 addr: 0x0000000000000297
131 reserved1: 0x00000000
132 reserved2: 0x00000000
133 reserved3: 0x00000000
134 - sectname: __debug_macinfo
136 addr: 0x0000000000000297
143 reserved1: 0x00000000
144 reserved2: 0x00000000
145 reserved3: 0x00000000
146 - sectname: __apple_names
148 addr: 0x0000000000000298
155 reserved1: 0x00000000
156 reserved2: 0x00000000
157 reserved3: 0x00000000
158 - sectname: __apple_objc
160 addr: 0x00000000000002D4
167 reserved1: 0x00000000
168 reserved2: 0x00000000
169 reserved3: 0x00000000
170 - sectname: __apple_namespac
172 addr: 0x00000000000002F8
179 reserved1: 0x00000000
180 reserved2: 0x00000000
181 reserved3: 0x00000000
182 - sectname: __apple_types
184 addr: 0x000000000000031C
191 reserved1: 0x00000000
192 reserved2: 0x00000000
193 reserved3: 0x00000000
194 - sectname: __debug_frame
196 addr: 0x00000000000003A4
203 reserved1: 0x00000000
204 reserved2: 0x00000000
205 reserved3: 0x00000000
206 - sectname: __debug_line
208 addr: 0x00000000000003D4
215 reserved1: 0x00000000
216 reserved2: 0x00000000
217 reserved3: 0x00000000
218 - cmd: LC_VERSION_MIN_MACOSX
262 - _compilerrt_abort_impl
267 - 'clang version 4.0.0 (trunk 290181) (llvm/trunk 290209)'
268 - ../compiler-rt/lib/builtins/absvdi2.c
269 - /Users/cbieneman/dev/open-source/llvm-build-rel
280 Tag: DW_TAG_compile_unit
281 Children: DW_CHILDREN_yes
283 - Attribute: DW_AT_producer
285 - Attribute: DW_AT_language
287 - Attribute: DW_AT_name
289 - Attribute: DW_AT_stmt_list
290 Form: DW_FORM_sec_offset
291 - Attribute: DW_AT_comp_dir
293 - Attribute: DW_AT_low_pc
295 - Attribute: DW_AT_high_pc
298 Tag: DW_TAG_base_type
299 Children: DW_CHILDREN_no
301 - Attribute: DW_AT_name
303 - Attribute: DW_AT_encoding
305 - Attribute: DW_AT_byte_size
309 Children: DW_CHILDREN_no
311 - Attribute: DW_AT_type
313 - Attribute: DW_AT_name
315 - Attribute: DW_AT_decl_file
317 - Attribute: DW_AT_decl_line
320 Tag: DW_TAG_subprogram
321 Children: DW_CHILDREN_yes
323 - Attribute: DW_AT_low_pc
325 - Attribute: DW_AT_high_pc
327 - Attribute: DW_AT_frame_base
328 Form: DW_FORM_exprloc
329 - Attribute: DW_AT_name
331 - Attribute: DW_AT_decl_file
333 - Attribute: DW_AT_decl_line
335 - Attribute: DW_AT_prototyped
336 Form: DW_FORM_flag_present
337 - Attribute: DW_AT_type
339 - Attribute: DW_AT_external
340 Form: DW_FORM_flag_present
342 Tag: DW_TAG_formal_parameter
343 Children: DW_CHILDREN_no
345 - Attribute: DW_AT_location
346 Form: DW_FORM_exprloc
347 - Attribute: DW_AT_name
349 - Attribute: DW_AT_decl_file
351 - Attribute: DW_AT_decl_line
353 - Attribute: DW_AT_type
357 Children: DW_CHILDREN_no
359 - Attribute: DW_AT_location
360 Form: DW_FORM_exprloc
361 - Attribute: DW_AT_name
363 - Attribute: DW_AT_decl_file
365 - Attribute: DW_AT_decl_line
367 - Attribute: DW_AT_type
370 Tag: DW_TAG_const_type
371 Children: DW_CHILDREN_no
373 - Attribute: DW_AT_type
379 #CHECK: - 'clang version 4.0.0 (trunk 290181) (llvm/trunk 290209)'
380 #CHECK: - '../compiler-rt/lib/builtins/absvdi2.c'
381 #CHECK: - '/Users/cbieneman/dev/open-source/llvm-build-rel'
384 #CHECK: - long long int
389 #CHECK: debug_abbrev:
391 #CHECK: Tag: DW_TAG_compile_unit
392 #CHECK: Children: DW_CHILDREN_yes
394 #CHECK: - Attribute: DW_AT_producer
395 #CHECK: Form: DW_FORM_strp
396 #CHECK: - Attribute: DW_AT_language
397 #CHECK: Form: DW_FORM_data2
398 #CHECK: - Attribute: DW_AT_name
399 #CHECK: Form: DW_FORM_strp
400 #CHECK: - Attribute: DW_AT_stmt_list
401 #CHECK: Form: DW_FORM_sec_offset
402 #CHECK: - Attribute: DW_AT_comp_dir
403 #CHECK: Form: DW_FORM_strp
404 #CHECK: - Attribute: DW_AT_low_pc
405 #CHECK: Form: DW_FORM_addr
406 #CHECK: - Attribute: DW_AT_high_pc
407 #CHECK: Form: DW_FORM_data4
409 #CHECK: Tag: DW_TAG_base_type
410 #CHECK: Children: DW_CHILDREN_no
412 #CHECK: - Attribute: DW_AT_name
413 #CHECK: Form: DW_FORM_strp
414 #CHECK: - Attribute: DW_AT_encoding
415 #CHECK: Form: DW_FORM_data1
416 #CHECK: - Attribute: DW_AT_byte_size
417 #CHECK: Form: DW_FORM_data1
419 #CHECK: Tag: DW_TAG_typedef
420 #CHECK: Children: DW_CHILDREN_no
422 #CHECK: - Attribute: DW_AT_type
423 #CHECK: Form: DW_FORM_ref4
424 #CHECK: - Attribute: DW_AT_name
425 #CHECK: Form: DW_FORM_strp
426 #CHECK: - Attribute: DW_AT_decl_file
427 #CHECK: Form: DW_FORM_data1
428 #CHECK: - Attribute: DW_AT_decl_line
429 #CHECK: Form: DW_FORM_data1
431 #CHECK: Tag: DW_TAG_subprogram
432 #CHECK: Children: DW_CHILDREN_yes
434 #CHECK: - Attribute: DW_AT_low_pc
435 #CHECK: Form: DW_FORM_addr
436 #CHECK: - Attribute: DW_AT_high_pc
437 #CHECK: Form: DW_FORM_data4
438 #CHECK: - Attribute: DW_AT_frame_base
439 #CHECK: Form: DW_FORM_exprloc
440 #CHECK: - Attribute: DW_AT_name
441 #CHECK: Form: DW_FORM_strp
442 #CHECK: - Attribute: DW_AT_decl_file
443 #CHECK: Form: DW_FORM_data1
444 #CHECK: - Attribute: DW_AT_decl_line
445 #CHECK: Form: DW_FORM_data1
446 #CHECK: - Attribute: DW_AT_prototyped
447 #CHECK: Form: DW_FORM_flag_present
448 #CHECK: - Attribute: DW_AT_type
449 #CHECK: Form: DW_FORM_ref4
450 #CHECK: - Attribute: DW_AT_external
451 #CHECK: Form: DW_FORM_flag_present
453 #CHECK: Tag: DW_TAG_formal_parameter
454 #CHECK: Children: DW_CHILDREN_no
456 #CHECK: - Attribute: DW_AT_location
457 #CHECK: Form: DW_FORM_exprloc
458 #CHECK: - Attribute: DW_AT_name
459 #CHECK: Form: DW_FORM_strp
460 #CHECK: - Attribute: DW_AT_decl_file
461 #CHECK: Form: DW_FORM_data1
462 #CHECK: - Attribute: DW_AT_decl_line
463 #CHECK: Form: DW_FORM_data1
464 #CHECK: - Attribute: DW_AT_type
465 #CHECK: Form: DW_FORM_ref4
467 #CHECK: Tag: DW_TAG_variable
468 #CHECK: Children: DW_CHILDREN_no
470 #CHECK: - Attribute: DW_AT_location
471 #CHECK: Form: DW_FORM_exprloc
472 #CHECK: - Attribute: DW_AT_name
473 #CHECK: Form: DW_FORM_strp
474 #CHECK: - Attribute: DW_AT_decl_file
475 #CHECK: Form: DW_FORM_data1
476 #CHECK: - Attribute: DW_AT_decl_line
477 #CHECK: Form: DW_FORM_data1
478 #CHECK: - Attribute: DW_AT_type
479 #CHECK: Form: DW_FORM_ref4
481 #CHECK: Tag: DW_TAG_const_type
482 #CHECK: Children: DW_CHILDREN_no
484 #CHECK: - Attribute: DW_AT_type
485 #CHECK: Form: DW_FORM_ref4