2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
3 # RUN: ld.lld --gdb-index %t -o /dev/null 2>&1 | FileCheck %s
5 # CHECK: warning: {{.*}}(.debug_gnu_pubnames): name lookup table at offset 0x0 parsing failed: unexpected end of data at offset 0x1 while reading [0x0, 0x4)
7 .section .debug_abbrev,"",@progbits
8 .byte 1 # Abbreviation Code
9 .byte 17 # DW_TAG_compile_unit
10 .byte 0 # DW_CHILDREN_no
15 .section .debug_info,"",@progbits
17 .long .LUnitEnd-.LUnitBegin # Length of Unit
19 .short 4 # DWARF version number
20 .long .debug_abbrev # Offset Into Abbrev. Section
21 .byte 8 # Address Size (in bytes)
22 .byte 1 # Abbrev [1] DW_TAG_compile_unit
25 .section .debug_gnu_pubnames,"",@progbits