27 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t3# RUN: ld.lld --gdb-index %t -o /dev/null 2>&1 | FileCheck %s4 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)6 7 .section .debug_abbrev,"",@progbits8 .byte 1 # Abbreviation Code9 .byte 17 # DW_TAG_compile_unit10 .byte 0 # DW_CHILDREN_no11 .byte 0 # EOM(1)12 .byte 0 # EOM(2)13 .byte 0 # EOM(3)14 15 .section .debug_info,"",@progbits16.LCUBegin:17 .long .LUnitEnd-.LUnitBegin # Length of Unit18.LUnitBegin:19 .short 4 # DWARF version number20 .long .debug_abbrev # Offset Into Abbrev. Section21 .byte 8 # Address Size (in bytes)22 .byte 1 # Abbrev [1] DW_TAG_compile_unit23.LUnitEnd:24 25 .section .debug_gnu_pubnames,"",@progbits26 .byte 027