1 #as: --gdwarf-5 --defsym LOCAL=1
2 #name: Dwarf5 local function debug info
4 #source: dwarf-3-func.s
5 #target: i?86-*-* x86_64-*-*
7 Contents of the .debug_info section:
9 +Compilation Unit @ offset (0x)?0:
12 +Unit Type: +DW_UT_compile \(1\)
13 +Abbrev Offset: +(0x)?0
15 <0><[0-9a-f]+>: Abbrev Number: 3 \(DW_TAG_unspecified_type\)
17 <0><[0-9a-f]+>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
19 <1><[0-9a-f]+>: Abbrev Number: 2 \(DW_TAG_subprogram\)
20 +<[0-9a-f]+> +DW_AT_name +: \(strp\) \(offset: (0x)?[0-9a-f]+\): lfunc1
21 +<[0-9a-f]+> +DW_AT_type +: \(ref_udata\) <0x.>
22 +<[0-9a-f]+> +DW_AT_low_pc +: \(addr\) (0x)?0
23 +<[0-9a-f]+> +DW_AT_high_pc +: \(udata\) 17
24 <1><[0-9a-f]+>: Abbrev Number: 2 \(DW_TAG_subprogram\)
25 +<[0-9a-f]+> +DW_AT_name +: \(strp\) \(offset: (0x)?[0-9a-f]+\): lfunc2
26 +<[0-9a-f]+> +DW_AT_type +: \(ref_udata\) <0x.>
27 +<[0-9a-f]+> +DW_AT_low_pc +: \(addr\) (0x)?11
28 +<[0-9a-f]+> +DW_AT_high_pc +: \(udata\) 3
29 <1><[0-9a-f]+>: Abbrev Number: 0
31 Contents of the .debug_abbrev section:
33 +Number TAG \((0x)?0\)
34 +1 +DW_TAG_compile_unit +\[has children\]
36 +2 +DW_TAG_subprogram +\[no children\]
37 +DW_AT_name +DW_FORM_strp
38 +DW_AT_type +DW_FORM_ref_udata
39 +DW_AT_low_pc +DW_FORM_addr
40 +DW_AT_high_pc +DW_FORM_udata
41 +DW_AT value: 0 +DW_FORM value: 0