1RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test4.elf-x86-64 | FileCheck %s
2
3CHECK: .debug_info contents:
4CHECK: DW_TAG_compile_unit
5CHECK-NOT: TAG
6CHECK:  DW_AT_ranges [DW_FORM_data4]      (0x00000000
7CHECK-NEXT:          [0x000000000000062c - 0x0000000000000637)
8CHECK-NEXT:          [0x0000000000000637 - 0x000000000000063d))
9
10CHECK: DW_TAG_compile_unit
11CHECK-NOT: TAG
12CHECK:  DW_AT_ranges [DW_FORM_data4]      (0x00000030
13CHECK-NEXT:          [0x0000000000000640 - 0x000000000000064b)
14CHECK-NEXT:          [0x0000000000000637 - 0x000000000000063d))
15
16
17CHECK:      .debug_ranges contents:
18CHECK-NEXT: 00000000 000000000000062c 0000000000000637
19CHECK-NEXT: 00000000 0000000000000637 000000000000063d
20CHECK-NEXT: 00000000 <End of list>
21CHECK-NEXT: 00000030 0000000000000640 000000000000064b
22CHECK-NEXT: 00000030 0000000000000637 000000000000063d
23CHECK-NEXT: 00000030 <End of list>
24
25