• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4
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,"",@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)
14
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:
24
25    .section .debug_gnu_pubnames,"",@progbits
26    .byte 0
27