[llvm] 2f69e9a - [COFF,test] Improve fission.ll
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 11:52:24 PDT 2024
Author: Fangrui Song
Date: 2024-06-24T11:52:20-07:00
New Revision: 2f69e9a212bb3b965c4d79ff8a12e1e63d679587
URL: https://github.com/llvm/llvm-project/commit/2f69e9a212bb3b965c4d79ff8a12e1e63d679587
DIFF: https://github.com/llvm/llvm-project/commit/2f69e9a212bb3b965c4d79ff8a12e1e63d679587.diff
LOG: [COFF,test] Improve fission.ll
Added:
Modified:
llvm/test/DebugInfo/COFF/fission-sections.ll
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/COFF/fission-sections.ll b/llvm/test/DebugInfo/COFF/fission-sections.ll
index da1418d937bb6..e7494ce92dfcf 100644
--- a/llvm/test/DebugInfo/COFF/fission-sections.ll
+++ b/llvm/test/DebugInfo/COFF/fission-sections.ll
@@ -1,6 +1,6 @@
; RUN: llc -split-dwarf-file=baz.dwo -split-dwarf-output=%t.dwo -O0 %s -mtriple=x86_64-unknown-windows-msvc -filetype=obj -o %t
-; RUN: llvm-objdump -h %t | FileCheck --check-prefix=OBJ %s
-; RUN: llvm-objdump -h %t.dwo | FileCheck --check-prefix=DWO %s
+; RUN: llvm-objdump -ht %t | FileCheck --check-prefix=OBJ %s
+; RUN: llvm-objdump -ht %t.dwo | FileCheck --check-prefix=DWO %s
; This test is derived from test/DebugInfo/X86/fission-cu.ll
; But it checks that the output objects have the expected sections
@@ -35,8 +35,23 @@ source_filename = "test/DebugInfo/X86/fission-cu.ll"
; OBJ-NEXT: 8 .debug_pubtypes
; OBJ-NEXT: 9 .debug_line
+; OBJ: .debug_abbrev
+; OBJ: .debug_info
+; OBJ-NOT: .dwo
+
; DWO: Idx Name
; DWO-NEXT: 0 .debug_str.dwo
; DWO-NEXT: 1 .debug_str_offsets.dwo
; DWO-NEXT: 2 .debug_info.dwo
; DWO-NEXT: 3 .debug_abbrev.dwo
+
+; DWO: SYMBOL TABLE:
+; DWO-NEXT: [ 0](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_str.dwo
+; DWO-NEXT: AUX scnlen 0x49 nreloc 0 nlnno 0 checksum 0xa4983874 assoc 1 comdat 0
+; DWO-NEXT: [ 2](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_str_offsets.dwo
+; DWO-NEXT: AUX scnlen 0x14 nreloc 0 nlnno 0 checksum 0x9392f0f0 assoc 2 comdat 0
+; DWO-NEXT: [ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_info.dwo
+; DWO-NEXT: AUX scnlen 0x29 nreloc 0 nlnno 0 checksum 0xc8e5b275 assoc 3 comdat 0
+; DWO-NEXT: [ 6](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_abbrev.dwo
+; DWO-NEXT: AUX scnlen 0x33 nreloc 0 nlnno 0 checksum 0x8056e5e4 assoc 4 comdat 0
+; DWO-EMPTY:
More information about the llvm-commits
mailing list