File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clang/test/DebugInfo/KeyInstructions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -gkey-instructions -x c++ -std=c++17 %s -debug-info-kind=line-tables-only -emit-llvm -o - \
1
+ // RUN: %clang_cc1 -triple x86_64-linux-gnu - gkey-instructions -x c++ -std=c++17 %s -debug-info-kind=line-tables-only -emit-llvm -o - \
2
2
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank --check-prefixes=CHECK,CHECK-CXX
3
3
4
- // RUN: %clang_cc1 -gkey-instructions -x c %s -debug-info-kind=line-tables-only -emit-llvm -o - \
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
6
6
7
7
int g ;
8
8
void a (int A , int B ) {
9
9
// CHECK: entry:
10
10
// The load gets associated with the branch rather than the store.
11
- // FIXME: Is that the best thing to do?
11
+ // TODO: Associating it with the store may be a better choice.
12
12
// CHECK: %0 = load i32, ptr %A.addr{{.*}}, !dbg [[G2R2:!.*]]
13
13
// CHECK: store i32 %0, ptr @g{{.*}}, !dbg [[G1R1:!.*]]
14
14
// CHECK: switch i32 %0, label %{{.*}} [
You can’t perform that action at this time.
0 commit comments