Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug_addr_64bit_address.s
blobb1e3b2a04553294b861bb19bff03b947672f8b91
1 # RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o %t.o
2 # RUN: llvm-dwarfdump -debug-addr %t.o | FileCheck %s
4 # CHECK: .debug_addr contents
5 # CHECK-NEXT: length = 0x00000014, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x00
6 # CHECK-NEXT: Addrs: [
7 # CHECK-NEXT: 0x0000000100000000
8 # CHECK-NEXT: 0x0000000100000001
9 # CHECK-NEXT: ]
10 # CHECK-NOT: {{.}}
12 .section .debug_abbrev,"",@progbits
13 .byte 1 # Abbreviation Code
14 .section .debug_info,"",@progbits
15 .Lcu_begin0:
16 .long 8 # Length of Unit
17 .short 5 # DWARF version number
18 .byte 1 # DWARF unit type
19 .byte 8 # Address Size (in bytes)
20 .long .debug_abbrev # Offset Into Abbrev. Section
22 .section .debug_addr,"",@progbits
23 .Ldebug_addr0:
24 .long 20 # unit_length = .short + .byte + .byte + .quad + .quad
25 .short 5 # version
26 .byte 8 # address_size
27 .byte 0 # segment_selector_size
28 .quad 0x0000000100000000
29 .quad 0x0000000100000001