brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · e3769b6 Raw
38 lines · plain
1# REQUIRES: x862## Regression test that we don't crash on DWARF v5 .debug_loclists3 4# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o5# RUN: ld.lld --gdb-index %t.o -o /dev/null6 7.section .debug_abbrev,"",@progbits8  .byte 1            # Abbreviation Code9  .byte 17           # DW_TAG_compile_unit10  .byte 0            # DW_CHILDREN_no11  .ascii "\214\001"  # DW_AT_loclists_base12  .byte 23           # DW_FORM_sec_offset13  .byte 0            # EOM(1)14  .byte 0            # EOM(2)15  .byte 016 17.section .debug_info,"",@progbits18.Lcu_begin0:19  .long .Lcu_end0-.Lcu_begin0-4  # Length of Unit20  .short 5                       # DWARF version number21  .byte  1                       # DWARF Unit Type22  .byte  8                       # Address Size23  .long  0                       # Offset Into Abbrev. Section24  .byte  1                       # Abbrev [1] DW_TAG_compile_unit25  .long  .Lloclists_table_base0  # DW_AT_loclists_base26.Lcu_end0:27 28.section .debug_loclists,"",@progbits29  .long .Ldebug_loclist_table_end0-.Ldebug_loclist_table_start0 # Length30.Ldebug_loclist_table_start0:31  .short 5                # Version32  .byte  8                # Address size33  .byte  0                # Segment selector size34  .long  0                # Offset entry count35.Lloclists_table_base0:36  .byte  0                # DW_LLE_end_of_list37.Ldebug_loclist_table_end0:38