File tree Expand file tree Collapse file tree 13 files changed +17
-15
lines changed
clang/test/DebugInfo/KeyInstructions Expand file tree Collapse file tree 13 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ void fun(Struct a) {
34
34
// CHECK: [[G3R1]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 1)
35
35
// CHECK: [[G4R2]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 2)
36
36
// CHECK: [[G4R1]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1)
37
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
37
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 5 , atomRank: 1 )
Original file line number Diff line number Diff line change @@ -84,4 +84,4 @@ void fun() {
84
84
// CHECK: [[load_i_loc]] = !DILocation(line: [[#]], column: [[#]], scope: ![[#]])
85
85
// CHECK: [[G11R2]] = !DILocation({{.*}}, atomGroup: 11, atomRank: 2)
86
86
// CHECK: [[G11R1]] = !DILocation({{.*}}, atomGroup: 11, atomRank: 1)
87
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
87
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 12 , atomRank: 1 )
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ void foo(int x, S s) {
16
16
17
17
// CHECK: [[G1R2]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 2)
18
18
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
19
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
19
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 2 , atomRank: 1 )
Original file line number Diff line number Diff line change @@ -87,4 +87,4 @@ void fun() {
87
87
// CHECK: [[G15R3]] = !DILocation({{.*}}, atomGroup: 15, atomRank: 3)
88
88
// CHECK: [[G15R2]] = !DILocation({{.*}}, atomGroup: 15, atomRank: 2)
89
89
// CHECK: [[G15R1]] = !DILocation({{.*}}, atomGroup: 15, atomRank: 1)
90
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
90
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 16 , atomRank: 1 )
Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -triple x86_64-linux-gnu -gkey-instructions -x c++ %s -debug-info-kind=line-tables-only -emit-llvm -o - \
2
- // RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
2
+ // RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank --check-prefixes=CHECK,CHECK-CXX
3
3
4
4
// RUN: %clang_cc1 -triple x86_64-linux-gnu -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 --check-prefixes=CHECK,CHECK-C
@@ -96,4 +96,5 @@ void test() {
96
96
// CHECK-C: [[G10R1]] = !DILocation({{.*}}, atomGroup: 10, atomRank: 1)
97
97
// CHECK-C: [[G11R2]] = !DILocation({{.*}}, atomGroup: 11, atomRank: 2)
98
98
// CHECK-C: [[G11R1]] = !DILocation({{.*}}, atomGroup: 11, atomRank: 1)
99
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]], atomRank: [[#]])
99
+ // CHECK-C: [[RET]] = !DILocation({{.*}}, atomGroup: 12, atomRank: 1)
100
+ // CHECK-CXX: [[RET]] = !DILocation({{.*}}, atomGroup: 8, atomRank: 1)
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ void a(int A) {
33
33
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
34
34
// CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1)
35
35
// CHECK: [[G3R1]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 1)
36
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
36
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 4 , atomRank: 1 )
Original file line number Diff line number Diff line change 2
2
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank --check-prefixes=CHECK,CHECK-CXX
3
3
4
4
// RUN: %clang_cc1 -triple x86_64-linux-gnu -gkey-instructions -x c %s -debug-info-kind=line-tables-only -emit-llvm -o - \
5
- // RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
5
+ // RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank --check-prefixes=CHECK,CHECK-C
6
6
7
7
int g ;
8
8
void a (int A ) {
@@ -46,4 +46,5 @@ void a(int A) {
46
46
// CHECK-CXX: [[G4R1]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1)
47
47
// CHECK-CXX: [[G5R2]] = !DILocation({{.*}}, atomGroup: 5, atomRank: 2)
48
48
// CHECK-CXX: [[G5R1]] = !DILocation({{.*}}, atomGroup: 5, atomRank: 1)
49
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]], atomRank: [[#]])
49
+ // CHECK-CXX: [[RET]] = !DILocation({{.*}}, atomGroup: 6, atomRank: 1)
50
+ // CHECK-C: [[RET]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1)
Original file line number Diff line number Diff line change @@ -49,4 +49,4 @@ void a() {
49
49
// CHECK: [[big_LINE]] = !DILocation(line: 33, scope: ![[#]])
50
50
// CHECK: [[G4R1]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1)
51
51
// CHECK: [[G5R1]] = !DILocation({{.*}}, atomGroup: 5, atomRank: 1)
52
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
52
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 6 , atomRank: 1 )
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ void fun() {
21
21
22
22
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
23
23
// CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1)
24
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
24
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 3 , atomRank: 1 )
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ void a() {
16
16
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
17
17
// CHECK: [[G2R2]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 2)
18
18
// CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1)
19
- // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: [[#]] , atomRank: [[#]] )
19
+ // CHECK: [[RET]] = !DILocation({{.*}}, atomGroup: 3 , atomRank: 1 )
You can’t perform that action at this time.
0 commit comments