1 # Test .debug_info can reference .debug_ranges entries without ordering the
2 # offsets strictly as increasing.
11 .section .debug_ranges,"",%progbits
16 .long 0, 0 ;# range terminator
20 .long 0, 0 ;# range terminator
22 .section .debug_info,"",%progbits
23 .long debugE - debugS ;# Length of Compilation Unit Info
25 .short 0x2 ;# DWARF version number
26 .long abbrev0 ;# Offset Into Abbrev. Section
27 .byte 0x4 ;# Pointer Size (in bytes)
29 .uleb128 0x1 ;# (DIE (0xb) DW_TAG_compile_unit)
30 .long range_cu - range ;# DW_AT_ranges
32 .uleb128 0x2 ;# (DIE (0x6d) DW_TAG_subprogram)
33 .ascii "A\0" ;# DW_AT_name
34 .long range_sub - range ;# DW_AT_ranges
37 .section .debug_abbrev,"",%progbits
39 .uleb128 0x1 ;# (abbrev code)
40 .uleb128 0x11 ;# (TAG: DW_TAG_compile_unit)
41 .byte 0x0 ;# DW_children_no
42 .uleb128 0x55 ;# (DW_AT_ranges)
43 .uleb128 0x6 ;# (DW_FORM_data4)
47 .uleb128 0x2 ;# (abbrev code)
48 .uleb128 0x2e ;# (TAG: DW_TAG_subprogram)
49 .byte 0x0 ;# DW_children_no
50 .uleb128 0x3 ;# (DW_AT_name)
51 .uleb128 0x8 ;# (DW_FORM_string)
52 .uleb128 0x55 ;# (DW_AT_ranges)
53 .uleb128 0x6 ;# (DW_FORM_data4)
57 .byte 0x0 ;# abbrevs terminator