[flang][cuda] Do not register global constants (#118582)
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / invalid_abbrev_offset.s
blob746e3a8cbe1a93a53b60ce3a27e667cb5285541c
1 # RUN: llvm-mc %s -filetype obj -triple x86_64 -o %t
2 # RUN: llvm-dwarfdump -debug-info -debug-types %t | FileCheck %s
4 # CHECK: .debug_info contents:
5 # CHECK-NEXT: Compile Unit: {{.+}}, abbr_offset = 0x00a5 (invalid),
6 # CHECK-NEXT: <compile unit can't be parsed!>
8 # CHECK: .debug_types contents:
9 # CHECK-NEXT: Type Unit: {{.+}}, abbr_offset = 0x00a5 (invalid), addr_size = 0x08, name = '',
10 # CHECK-NEXT: <type unit can't be parsed!>
12 .section .debug_info,"",@progbits
13 .long .LCUEnd-.LCUVersion # Length of Unit
14 .LCUVersion:
15 .short 4 # DWARF version number
16 .long 0xa5 # Offset Into Abbrev. Section (invalid)
17 .byte 8 # Address Size
18 .byte 1 # Abbreviation code
19 .LCUEnd:
21 .section .debug_types,"",@progbits
22 .LTUBegin:
23 .long .LTUEnd-.LTUVersion # Length of Unit
24 .LTUVersion:
25 .short 4 # DWARF version number
26 .long 0xa5 # Offset Into Abbrev. Section (invalid)
27 .byte 8 # Address Size
28 .quad 0x0011223344556677 # Type Signature
29 .long .LTUType-.LTUBegin # Type offset
30 .LTUType:
31 .byte 1 # Abbreviation code
32 .LTUEnd: