dwarfdump: First piece of support for DWP dumping
[oota-llvm.git] / test / DebugInfo / dwarfdump-dwp.test
1 RUN: llvm-dwarfdump %p/Inputs/dwarfdump-dwp.x86_64.o | FileCheck %s
2
3 ; Testing the following simple dwp file:
4 ; a.cpp:
5 ;   struct foo { };
6 ;   foo a;
7 ; b.cpp:
8 ;   struct foo { };
9 ;   foo b;
10
11 ; CHECK: .debug_cu_index contents:
12 ; CHECK: version: 2
13 ; CHECK: columns: 4
14 ; CHECK:   units: 2
15 ; CHECK: buckets: 16
16
17 ; TODO: debug_tu_index
18 ; TODO: dump the index contents
19 ; TODO: use the index section offset info to correctly dump debug_info