[Transforms] Silence a warning in SROA.cpp (NFC)
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug_addr.s
blob47123f24c9e458c575e8a55da569a2a0d8d8f29f
1 # RUN: llvm-mc %s -filetype obj -triple i386-pc-linux -o %t.o
2 # RUN: llvm-dwarfdump -debug-addr %t.o | FileCheck %s
4 # CHECK: .debug_addr contents
6 # CHECK-NEXT: length = 0x0000000c, format = DWARF32, version = 0x0005, addr_size = 0x04, seg_size = 0x00
7 # CHECK-NEXT: Addrs: [
8 # CHECK-NEXT: 0x00000000
9 # CHECK-NEXT: 0x00000001
10 # CHECK-NEXT: ]
11 # CHECK-NEXT: length = 0x00000004, format = DWARF32, version = 0x0005, addr_size = 0x04, seg_size = 0x00
12 # CHECK-NOT: {{.}}
14 .section .debug_abbrev,"",@progbits
15 .byte 1 # Abbreviation Code
16 .section .debug_info,"",@progbits
17 .Lcu_begin0:
18 .long 8 # Length of Unit
19 .short 5 # DWARF version number
20 .byte 1 # DWARF unit type
21 .byte 4 # Address Size (in bytes)
22 .long .debug_abbrev # Offset Into Abbrev. Section
24 .section .debug_addr,"",@progbits
25 .Ldebug_addr0:
26 .long 12 # unit_length = .short + .byte + .byte + .long + .long
27 .short 5 # version
28 .byte 4 # address_size
29 .byte 0 # segment_selector_size
30 .long 0x00000000
31 .long 0x00000001
33 .section .debug_addr,"",@progbits
34 .Ldebug_addr1:
35 .long 4 # unit_length = .short + .byte + .byte
36 .short 5 # version
37 .byte 4 # address_size
38 .byte 0 # segment_selector_size