1 RUN: llvm-dwarfdump %p/Inputs/dwarfdump-dwp.x86_64.o | FileCheck %s
3 ; Testing the following simple dwp file:
11 ; CHECK: .debug_cu_index contents:
12 ; CHECK-NEXT: version = 2 slots = 16
13 ; CHECK: Index Signature INFO ABBREV LINE STR_OFFSETS
14 ; CHECK-NEXT: ----- ------------------ ------------------------ ------------------------ ------------------------ ------------------------
15 ; CHECK-NEXT: 8 0x03c30756e2d45008 [0x00000000, 0x00000045) [0x00000000, 0x00000067) [0x00000000, 0x00000026) [0x00000000, 0x00000016)
16 ; CHECK-NEXT: 12 0x9aeb3a61ed48510c [0x00000045, 0x00000090) [0x00000067, 0x00000134) [0x00000026, 0x00000052) [0x00000016, 0x00000032)
18 ; CHECK: .debug_tu_index contents:
19 ; CHECK-NEXT: version = 2 slots = 16
20 ; CHECK: Index Signature TYPES ABBREV LINE STR_OFFSETS
21 ; CHECK-NEXT: ----- ------------------ ------------------------ ------------------------ ------------------------ ------------------------
22 ; CHECK-NEXT: 8 0x1d02f3be30cc5688 [0x00000036, 0x00000072) [0x00000067, 0x00000134) [0x00000026, 0x00000052) [0x00000016, 0x00000032)
23 ; CHECK-NEXT: 12 0x3875c0e21cda63fc [0x00000000, 0x00000036) [0x00000000, 0x00000067) [0x00000000, 0x00000026) [0x00000000, 0x00000016)
25 ; TODO: use the index section offset info to correctly dump debug_info