1 # RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o - | \
2 # RUN: llvm-dwarfdump -v --debug-rnglists - | \
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
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
26 .byte 8 # Address size
27 .byte 0 # Segment selector size
28 .long 2 # Offset entry count
31 .quad .Ltable0 - .Loffsets
32 .quad .Ltable1 - .Loffsets
35 .byte 0 # DW_RLE_end_of_list
38 .byte 0 # DW_RLE_end_of_list