[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / DebugInfo / dwarfdump-ranges.test
blob54417931f9354ab8c3cc3f261a9e6fad1b0db5b4
1 RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-test4.elf-x86-64 | FileCheck %s
3 CHECK: .debug_info contents:
4 CHECK: DW_TAG_compile_unit
5 CHECK-NOT: TAG
6 CHECK:  DW_AT_ranges [DW_FORM_data4]      (0x00000000
7 CHECK-NEXT:          [0x000000000000062c, 0x0000000000000637)
8 CHECK-NEXT:          [0x0000000000000637, 0x000000000000063d))
10 CHECK: DW_TAG_compile_unit
11 CHECK-NOT: TAG
12 CHECK:  DW_AT_ranges [DW_FORM_data4]      (0x00000030
13 CHECK-NEXT:          [0x0000000000000640, 0x000000000000064b)
14 CHECK-NEXT:          [0x0000000000000637, 0x000000000000063d))
17 CHECK:      .debug_ranges contents:
18 CHECK-NEXT: 00000000 000000000000062c 0000000000000637
19 CHECK-NEXT: 00000000 0000000000000637 000000000000063d
20 CHECK-NEXT: 00000000 <End of list>
21 CHECK-NEXT: 00000030 0000000000000640 000000000000064b
22 CHECK-NEXT: 00000030 0000000000000637 000000000000063d
23 CHECK-NEXT: 00000030 <End of list>