Skip to content

Commit 9983107

Browse files
committed
[clang][test] Update test for freeze poison emission on local allocations
1 parent 4c9cdfb commit 9983107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGenCXX/debug-info-scope.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ void func() {
5858
// CHECK-NOT: line:
5959
// CHECK-SAME: ){{$}}
6060
for (int i : x) {
61+
// CHECK: [[RANGE_FOR_BODY:![0-9]+]] = distinct !DILexicalBlock(scope: [[RANGE_FOR]],{{.*}} line: [[@LINE-1]])
6162
// CHECK: = !DILocalVariable(name: "i"
6263
// CHECK-SAME: scope: [[RANGE_FOR_BODY:![0-9]*]]
63-
// CHECK-SAME: line: [[@LINE-3]]
64-
// CHECK: [[RANGE_FOR_BODY]] = distinct !DILexicalBlock(scope: [[RANGE_FOR]],{{.*}} line: [[@LINE-4]])
64+
// CHECK-SAME: line: [[@LINE-4]]
6565
}
6666
}

0 commit comments

Comments
 (0)