29 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o3# RUN: ld.lld --gdb-index %t1.o -o /dev/null 2>&1 | FileCheck %s4 5# CHECK: warning: {{.*}}:{{(\(\.debug_info\):)?}} invalid reference to or invalid content in .debug_str_offsets[.dwo]: insufficient space for 32 bit header prefix6 7.section .debug_abbrev,"",@progbits8 .byte 1 # Abbreviation Code9 .byte 17 # DW_TAG_compile_unit10 .byte 0 # DW_CHILDREN_no11 .byte 114 # DW_AT_str_offsets_base12 .byte 23 # DW_FORM_sec_offset13 .byte 0 # EOM(1)14 .byte 0 # EOM(2)15 .byte 0 # EOM(3)16 17.section .debug_info,"",@progbits18 .long .Lunit_end0-.Lunit_begin0 # Length of Unit19.Lunit_begin0:20 .short 5 # DWARF version number21 .byte 1 # DWARF Unit Type22 .byte 8 # Address Size (in bytes)23 .long .debug_abbrev # Offset Into Abbrev. Section24 25 .byte 1 # Abbrev [1] 0xc:0x43 DW_TAG_compile_unit26 .long 0 # DW_AT_str_offsets_base27.Lunit_end0:28 29