File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
clang/test/DebugInfo/KeyInstructions Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,18 @@ void a(int A) {
20
20
// O0. Since we're no longer targeting O0 we should reevaluate whether this
21
21
// adds any value.
22
22
// CHECK: for.body:
23
- // CHECK: br label %for.inc, !dbg [[G5R1:!.*]]
23
+ // CHECK-NEXT : br label %for.inc, !dbg [[G5R1:!.*]]
24
24
25
25
// CHECK: for.inc:
26
26
// CHECK: %inc = add{{.*}}, !dbg [[G4R2:!.*]]
27
27
// CHECK: store i32 %inc, ptr %i{{.*}}, !dbg [[G4R1:!.*]]
28
- for (int i = 0 ; i < A ; ++ i ) { }
28
+ for (int i = 0 ; i < A ; ++ i ) {
29
+ }
29
30
}
30
31
31
32
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
32
33
// CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1)
33
34
// CHECK: [[G3R1]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 1)
34
- // CHECK: [[G5R1]] = !DILocation({{.*}}, atomGroup: 5, atomRank: 1)
35
+ // CHECK: [[G5R1]] = !DILocation(line: 29, {{.*}} atomGroup: 5, atomRank: 1)
35
36
// CHECK: [[G4R2]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 2)
36
37
// CHECK: [[G4R1]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1)
You can’t perform that action at this time.
0 commit comments