60 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-dwarfdump -verify %t.o | FileCheck --implicit-check-not=error: %s3 4--- !ELF5FileHeader:6 Class: ELFCLASS647 Data: ELFDATA2LSB8 Type: ET_EXEC9DWARF:10 debug_str:11 - ''12 - /tmp/main.c13 - main14 - nested15 debug_abbrev:16 - Table:17 - Code: 0x0000000118 Tag: DW_TAG_compile_unit19 Children: DW_CHILDREN_yes20 Attributes:21 - Attribute: DW_AT_low_pc22 Form: DW_FORM_addr23 - Attribute: DW_AT_high_pc24 Form: DW_FORM_addr25 - Attribute: DW_AT_name26 Form: DW_FORM_strp27 - Code: 0x0000000228 Tag: DW_TAG_subprogram29 Children: DW_CHILDREN_yes30 Attributes:31 - Attribute: DW_AT_name32 Form: DW_FORM_strp33 - Attribute: DW_AT_low_pc34 Form: DW_FORM_addr35 - Attribute: DW_AT_high_pc36 Form: DW_FORM_addr37 debug_info:38 - Version: 439 AddrSize: 840 Entries:41 - AbbrCode: 0x0000000142 Values:43 - Value: 0x000000000000100044 - Value: 0x000000000000200045 - Value: 0x000000000000000146 - AbbrCode: 0x0000000247 Values:48 - Value: 0x000000000000000D49 - Value: 0x000000000000100050 - Value: 0x000000000000150051 - AbbrCode: 0x0000000252 Values:53 - Value: 0x000000000000001254 - Value: 0x000000000000150055 - Value: 0x000000000000200056 - AbbrCode: 0x0000000057 - AbbrCode: 0x0000000058 - AbbrCode: 0x0000000059 60