File tree 1 file changed +2
-4
lines changed
clang/test/DebugInfo/KeyInstructions 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang -gkey-instructions -x c++ %s -gmlt -gcolumn- info -S -emit-llvm -o - \
1
+ // RUN: %clang_cc1 -gkey-instructions -x c++ %s -debug- info-kind=line-tables-only -emit-llvm -o - \
2
2
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
3
3
4
- // RUN: %clang -gkey-instructions -x c %s -gmlt -gcolumn- info -S -emit-llvm -o - \
4
+ // RUN: %clang_cc1 -gkey-instructions -x c %s -debug- info-kind=line-tables-only -emit-llvm -o - \
5
5
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
6
6
7
7
void a () {
@@ -10,10 +10,8 @@ void a() {
10
10
// CHECK: %add = add {{.*}}, !dbg [[G2R2:!.*]]
11
11
// CHECK: store i32 %add, ptr %B, align 4, !dbg [[G2R1:!.*]]
12
12
int B = 2 * A + 1 ;
13
- // CHECK-TODO: ret{{.*}}, !dbg [[G3R1:!.*]]
14
13
}
15
14
16
15
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
17
16
// CHECK: [[G2R2]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 2)
18
17
// CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1)
19
- // CHECK-TODO: [[G3R1]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 1)
You can’t perform that action at this time.
0 commit comments