Skip to content

Commit a04f3b9

Browse files
MaskRayAlexisPerry
authored andcommitted
[COFF,test] Improve fission.ll
1 parent 0bbc356 commit a04f3b9

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

llvm/test/DebugInfo/COFF/fission-sections.ll

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: llc -split-dwarf-file=baz.dwo -split-dwarf-output=%t.dwo -O0 %s -mtriple=x86_64-unknown-windows-msvc -filetype=obj -o %t
2-
; RUN: llvm-objdump -h %t | FileCheck --check-prefix=OBJ %s
3-
; RUN: llvm-objdump -h %t.dwo | FileCheck --check-prefix=DWO %s
2+
; RUN: llvm-objdump -ht %t | FileCheck --check-prefix=OBJ %s
3+
; RUN: llvm-objdump -ht %t.dwo | FileCheck --check-prefix=DWO %s
44

55
; This test is derived from test/DebugInfo/X86/fission-cu.ll
66
; But it checks that the output objects have the expected sections
@@ -35,8 +35,23 @@ source_filename = "test/DebugInfo/X86/fission-cu.ll"
3535
; OBJ-NEXT: 8 .debug_pubtypes
3636
; OBJ-NEXT: 9 .debug_line
3737

38+
; OBJ: .debug_abbrev
39+
; OBJ: .debug_info
40+
; OBJ-NOT: .dwo
41+
3842
; DWO: Idx Name
3943
; DWO-NEXT: 0 .debug_str.dwo
4044
; DWO-NEXT: 1 .debug_str_offsets.dwo
4145
; DWO-NEXT: 2 .debug_info.dwo
4246
; DWO-NEXT: 3 .debug_abbrev.dwo
47+
48+
; DWO: SYMBOL TABLE:
49+
; DWO-NEXT: [ 0](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_str.dwo
50+
; DWO-NEXT: AUX scnlen 0x49 nreloc 0 nlnno 0 checksum 0xa4983874 assoc 1 comdat 0
51+
; DWO-NEXT: [ 2](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_str_offsets.dwo
52+
; DWO-NEXT: AUX scnlen 0x14 nreloc 0 nlnno 0 checksum 0x9392f0f0 assoc 2 comdat 0
53+
; DWO-NEXT: [ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_info.dwo
54+
; DWO-NEXT: AUX scnlen 0x29 nreloc 0 nlnno 0 checksum 0xc8e5b275 assoc 3 comdat 0
55+
; DWO-NEXT: [ 6](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .debug_abbrev.dwo
56+
; DWO-NEXT: AUX scnlen 0x33 nreloc 0 nlnno 0 checksum 0x8056e5e4 assoc 4 comdat 0
57+
; DWO-EMPTY:

0 commit comments

Comments
 (0)