|
1 | | - |
2 | | -// RUN: %clang_cc1 -x c++ -gkey-instructions %s -debug-info-kind=line-tables-only -gno-column-info -emit-llvm -o - -ftrivial-auto-var-init=pattern \ |
| 1 | +// RUN: %clang_cc1 -triple x86_64-linux-gnu -x c++ -gkey-instructions %s -debug-info-kind=line-tables-only -gno-column-info -emit-llvm -o - -ftrivial-auto-var-init=pattern \ |
3 | 2 | // RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank |
4 | 3 |
|
5 | | -// RUN: %clang_cc1 -x c -gkey-instructions %s -debug-info-kind=line-tables-only -gno-column-info -emit-llvm -o - -ftrivial-auto-var-init=pattern \ |
| 4 | +// RUN: %clang_cc1 -triple x86_64-linux-gnu -x c -gkey-instructions %s -debug-info-kind=line-tables-only -gno-column-info -emit-llvm -o - -ftrivial-auto-var-init=pattern \ |
6 | 5 | // RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank |
7 | 6 |
|
8 | 7 | // The implicit-check-not is important; we don't want the GEPs created for the |
@@ -36,15 +35,15 @@ void a() { |
36 | 35 | // CHECK: call void @llvm.memset{{.*}}%arr{{.*}}, !dbg [[G4R1:!.*]] |
37 | 36 | char arr[] = { 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, }; |
38 | 37 |
|
39 | | -// CHECK: store i8 -86, ptr %uninit{{.*}}, !dbg [[G5R1:!.*]], !annotation |
| 38 | +// CHECK: store i8 {{.*}}, ptr %uninit{{.*}}, !dbg [[G5R1:!.*]], !annotation |
40 | 39 | char uninit; // -ftrivial-auto-var-init=pattern |
41 | 40 | } |
42 | 41 |
|
43 | 42 | // CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1) |
44 | 43 | // CHECK: [[G2R1]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 1) |
45 | | -// CHECK: [[B_LINE]] = !DILocation(line: 23, scope: ![[#]]) |
| 44 | +// CHECK: [[B_LINE]] = !DILocation(line: 22, scope: ![[#]]) |
46 | 45 | // CHECK: [[G2R2]] = !DILocation({{.*}}, atomGroup: 2, atomRank: 2) |
47 | 46 | // CHECK: [[G3R1]] = !DILocation({{.*}}, atomGroup: 3, atomRank: 1) |
48 | | -// CHECK: [[big_LINE]] = !DILocation(line: 34, scope: ![[#]]) |
| 47 | +// CHECK: [[big_LINE]] = !DILocation(line: 33, scope: ![[#]]) |
49 | 48 | // CHECK: [[G4R1]] = !DILocation({{.*}}, atomGroup: 4, atomRank: 1) |
50 | 49 | // CHECK: [[G5R1]] = !DILocation({{.*}}, atomGroup: 5, atomRank: 1) |
0 commit comments