File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
clang/test/DebugInfo/KeyInstructions Expand file tree Collapse file tree 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 - \
22// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
33
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 - \
55// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
66
77void a () {
@@ -10,10 +10,8 @@ void a() {
1010// CHECK: %add = add {{.*}}, !dbg [[G2R2:!.*]]
1111// CHECK: store i32 %add, ptr %B, align 4, !dbg [[G2R1:!.*]]
1212 int B = 2 * A + 1 ;
13- // CHECK-TODO: ret{{.*}}, !dbg [[G3R1:!.*]]
1413}
1514
1615// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
1716// CHECK: [[G2R2]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 2)
1817// 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