[Transforms] Silence a warning in SROA.cpp (NFC)
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug-names-verify-short2.s
bloba7c051740504e05ad6501d22292c80520a449c2c
1 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj | \
2 # RUN: not llvm-dwarfdump -verify - | FileCheck %s
4 # CHECK: parsing .debug_names header at 0x0: cannot read header augmentation
6 .section .debug_str,"MS",@progbits,1
7 .Lstring_producer:
8 .asciz "Hand-written dwarf"
10 .section .debug_abbrev,"",@progbits
11 .Lsection_abbrev:
12 .byte 1 # Abbreviation Code
13 .byte 17 # DW_TAG_compile_unit
14 .byte 1 # DW_CHILDREN_yes
15 .byte 37 # DW_AT_producer
16 .byte 14 # DW_FORM_strp
17 .byte 19 # DW_AT_language
18 .byte 5 # DW_FORM_data2
19 .byte 0 # EOM(1)
20 .byte 0 # EOM(2)
21 .byte 0 # EOM(3)
23 .section .debug_info,"",@progbits
24 .Lcu_begin0:
25 .long .Lcu_end0-.Lcu_start0 # Length of Unit
26 .Lcu_start0:
27 .short 4 # DWARF version number
28 .long .Lsection_abbrev # Offset Into Abbrev. Section
29 .byte 8 # Address Size (in bytes)
30 .byte 1 # Abbrev [1] DW_TAG_compile_unit
31 .long .Lstring_producer # DW_AT_producer
32 .short 12 # DW_AT_language
33 .byte 0 # End Of Children Mark
34 .Lcu_end0:
36 .section .debug_names,"",@progbits
37 .long .Lnames_end0-.Lnames_start0 # Header: contribution length
38 .Lnames_start0:
39 .short 5 # Header: version
40 .short 0 # Header: padding
41 .long 1 # Header: compilation unit count
42 .long 0 # Header: local type unit count
43 .long 0 # Header: foreign type unit count
44 .long 2 # Header: bucket count
45 .long 3 # Header: name count
46 .long 47 # Header: abbreviation table size
47 .long 8 # Header: augmentation length
48 .asciz "short" # Header: augmentation
49 .Lnames_end0: