Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug_rnglists_dwarf64.s
blob7582ec7d1e641628390d7c536a308dc9ae99267e
1 # RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o - | \
2 # RUN: llvm-dwarfdump -v --debug-rnglists - | \
3 # RUN: FileCheck %s
5 # CHECK: .debug_rnglists contents:
6 # CHECK-NEXT: 0x00000000: range list header:
7 # CHECK-SAME: length = 0x000000000000001a,
8 # CHECK-SAME: format = DWARF64,
9 # CHECK-SAME: version = 0x0005,
10 # CHECK-SAME: addr_size = 0x08,
11 # CHECK-SAME: seg_size = 0x00,
12 # CHECK-SAME: offset_entry_count = 0x00000002
13 # CHECK-NEXT: offsets: [
14 # CHECK-NEXT: 0x0000000000000010 => 0x00000024
15 # CHECK-NEXT: 0x0000000000000011 => 0x00000025
16 # CHECK-NEXT: ]
17 # CHECK-NEXT: ranges:
18 # CHECK-NEXT: 0x00000024: [DW_RLE_end_of_list]
19 # CHECK-NEXT: 0x00000025: [DW_RLE_end_of_list]
21 .section .debug_rnglists,"",@progbits
22 .long 0xffffffff # DWARF64 mark
23 .quad .Lend - .Lversion # Table length
24 .Lversion:
25 .short 5 # Version
26 .byte 8 # Address size
27 .byte 0 # Segment selector size
28 .long 2 # Offset entry count
30 .Loffsets:
31 .quad .Ltable0 - .Loffsets
32 .quad .Ltable1 - .Loffsets
34 .Ltable0:
35 .byte 0 # DW_RLE_end_of_list
37 .Ltable1:
38 .byte 0 # DW_RLE_end_of_list
40 .Lend: