diff options
Diffstat (limited to 'llvm/test/DebugInfo/dwarfdump-dwp.test')
-rw-r--r-- | llvm/test/DebugInfo/dwarfdump-dwp.test | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/dwarfdump-dwp.test b/llvm/test/DebugInfo/dwarfdump-dwp.test index 0dbe1edf246..e766cbc2bd9 100644 --- a/llvm/test/DebugInfo/dwarfdump-dwp.test +++ b/llvm/test/DebugInfo/dwarfdump-dwp.test @@ -9,7 +9,7 @@ RUN: llvm-dwarfdump %p/Inputs/dwarfdump-dwp.x86_64.o | FileCheck %s ; bar b() { ; } -; CHECK: .debug_info.dwo contents: +; CHECK-LABEL: .debug_info.dwo contents: ; CHECK: Compile Unit ; Verify that the second CU uses the index for its abbrev offset @@ -21,8 +21,20 @@ RUN: llvm-dwarfdump %p/Inputs/dwarfdump-dwp.x86_64.o | FileCheck %s ; CHECK: DW_AT_name {{.*}} "a.cpp" ; Verify that abbreviations are decoded using the abbrev offset in the index -; CHECK: DW_TAG_subprogram ; CHECK: DW_TAG_structure_type +; CHECK: DW_TAG_subprogram + +; CHECK-LABEL: .debug_types.dwo contents: +; CHECK: Type Unit +; CHECK: DW_TAG_type_unit +; CHECK: DW_AT_stmt_list {{.*}}(0x00000000) +; CHECK: DW_TAG_structure_type +; CHECK: DW_AT_decl_file {{.*}} ("a.cpp") +; CHECK: Type Unit +; CHECK: DW_TAG_type_unit +; CHECK: DW_AT_stmt_list {{.*}}(0x00000000) +; CHECK: DW_TAG_structure_type +; CHECK: DW_AT_decl_file {{.*}} ("b.cpp") ; CHECK: .debug_cu_index contents: ; CHECK-NEXT: version = 2 slots = 16 |