File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
clang/test/DebugInfo/KeyInstructions Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -gkey-instructions -gno-column-info -x c++ %s -debug-info-kind=line-tables-only -emit-llvm -o - \
1
+ // RUN: %clang_cc1 -triple x86_64-linux-gnu - gkey-instructions -gno-column-info -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_cc1 -gkey-instructions -gno-column-info -x c %s -debug-info-kind=line-tables-only -emit-llvm -o - \
4
+ // RUN: %clang_cc1 -triple x86_64-linux-gnu - gkey-instructions -gno-column-info -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
float g ;
@@ -10,10 +10,8 @@ void a() {
10
10
// CHECK: %conv = fptosi float %0 to i32{{.*}}, !dbg [[G1R2:!.*]]
11
11
// CHECK: store i32 %conv, ptr %a{{.*}}, !dbg [[G1R1:!.*]]
12
12
int a = g ;
13
- // CHECK: ret{{.*}}, !dbg [[G2R1:!.*]]
14
13
}
15
14
16
15
// CHECK: [[G1R3]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 3)
17
16
// CHECK: [[G1R2]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 2)
18
17
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
19
- // CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1)
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -gkey-instructions %s -debug-info-kind=line-tables-only -emit-llvm -o - -Wno-unused-variable \
1
+ // RUN: %clang_cc1 -triple x86_64-linux-gnu - gkey-instructions %s -debug-info-kind=line-tables-only -emit-llvm -o - -Wno-unused-variable \
2
2
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
3
3
4
4
// Check both the addr-store and value-store are part of the same atom.
@@ -18,7 +18,6 @@ void f(int x) {
18
18
// CHECK: %3 = load ptr, ptr %n
19
19
// CHECK: store i32 %2, ptr %3{{.*}}, !dbg [[G3R1:!.*]]
20
20
*n = x;
21
- // CHECK: ret void, !dbg [[G4R1:!.*]]
22
21
}
23
22
24
23
// CHECK: [[G1R2_C12]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 2)
@@ -33,5 +32,3 @@ void f(int x) {
33
32
34
33
// CHECK: [[G3R2]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 2)
35
34
// CHECK: [[G3R1]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 1)
36
-
37
- // CHECK: [[G4R1]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1)
You can’t perform that action at this time.
0 commit comments