Skip to content

Commit 392cbb9

Browse files
committed
verifier regression test
1 parent fba771b commit 392cbb9

File tree

1 file changed

+3
-0
lines changed
  • llvm/test/DebugInfo/KeyInstructions/Generic

1 file changed

+3
-0
lines changed

llvm/test/DebugInfo/KeyInstructions/Generic/verify.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
define dso_local void @f() !dbg !10 {
99
entry:
10+
; include non-key location to check verifier is checking the whole function.
11+
%0 = add i32 0, 0, !dbg !14
1012
ret void, !dbg !13
1113
}
1214

@@ -20,3 +22,4 @@ entry:
2022
!11 = !DISubroutineType(types: !12)
2123
!12 = !{null}
2224
!13 = !DILocation(line: 1, column: 11, scope: !10, atomGroup: 1, atomRank: 1)
25+
!14 = !DILocation(line: 1, column: 11, scope: !10)

0 commit comments

Comments
 (0)