1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o 3# RUN: ld.lld --gdb-index %t1.o -o /dev/null 2>&1 | FileCheck %s 4 5# CHECK: warning: {{.*}}:{{(\(\.debug_info\):)?}} invalid reference to or invalid content in .debug_str_offsets[.dwo]: insufficient space for 32 bit header prefix 6 7.section .debug_abbrev,"",@progbits 8 .byte 1 # Abbreviation Code 9 .byte 17 # DW_TAG_compile_unit 10 .byte 0 # DW_CHILDREN_no 11 .byte 114 # DW_AT_str_offsets_base 12 .byte 23 # DW_FORM_sec_offset 13 .byte 0 # EOM(1) 14 .byte 0 # EOM(2) 15 .byte 0 # EOM(3) 16 17.section .debug_info,"",@progbits 18 .long .Lunit_end0-.Lunit_begin0 # Length of Unit 19.Lunit_begin0: 20 .short 5 # DWARF version number 21 .byte 1 # DWARF Unit Type 22 .byte 8 # Address Size (in bytes) 23 .long .debug_abbrev # Offset Into Abbrev. Section 24 25 .byte 1 # Abbrev [1] 0xc:0x43 DW_TAG_compile_unit 26 .long 0 # DW_AT_str_offsets_base 27.Lunit_end0: 28 29