Skip to content

Commit 4e5d14d

Browse files
committed
triple
1 parent 21266ab commit 4e5d14d

File tree

1 file changed

+3
-3
lines changed
  • clang/test/DebugInfo/KeyInstructions

1 file changed

+3
-3
lines changed

clang/test/DebugInfo/KeyInstructions/switch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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 - \
22
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank --check-prefixes=CHECK,CHECK-CXX
33

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 - \
55
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
66

77
int g;
88
void a(int A, int B) {
99
// CHECK: entry:
1010
// 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.
1212
// CHECK: %0 = load i32, ptr %A.addr{{.*}}, !dbg [[G2R2:!.*]]
1313
// CHECK: store i32 %0, ptr @g{{.*}}, !dbg [[G1R1:!.*]]
1414
// CHECK: switch i32 %0, label %{{.*}} [

0 commit comments

Comments
 (0)