Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / gdb-index-invalid-pubnames.s
blobfc10dac487c52ba6954e5006e5963047b8708a98
1 # REQUIRES: x86
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
11 .byte 0 # EOM(1)
12 .byte 0 # EOM(2)
13 .byte 0 # EOM(3)
15 .section .debug_info,"",@progbits
16 .LCUBegin:
17 .long .LUnitEnd-.LUnitBegin # Length of Unit
18 .LUnitBegin:
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
23 .LUnitEnd:
25 .section .debug_gnu_pubnames,"",@progbits
26 .byte 0