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 - \
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
77int g ;
88void 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 %{{.*}} [
You can’t perform that action at this time.
0 commit comments