Skip to content

Commit 665ada4

Browse files
[DebugInfo] Simplify test for DynamicSelfLocation
We only want to check that there is no "!dbg" until the next line, we can accomplish this by checking-same on the end-of-line regex marker.
1 parent be1551f commit 665ada4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DebugInfo/DynamicSelfLocation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ class Model {
2121
// CHECK-NEXT: entry:
2222
// CHECK-NEXT: %2 = load ptr, ptr %[[Self]]
2323
// CHECK-NOT: !dbg
24-
// CHECK-NEXT: call void @llvm.dbg.declare
24+
// CHECK-SAME: {{$}}

0 commit comments

Comments
 (0)