File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/DebugInfo/KeyInstructions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1370,8 +1370,8 @@ void CodeGenFunction::EmitForStmt(const ForStmt &S,
1370
1370
// match existing loop stepping behaviour. FIXME: We could have the branch
1371
1371
// as the backup location for the condition, which would probably be a
1372
1372
// better experience (no jumping to the brace).
1373
- if (auto *I = dyn_cast<llvm::Instruction>(BoolCondVal))
1374
- addInstToNewSourceAtom (I , nullptr );
1373
+ if (auto *CondI = dyn_cast<llvm::Instruction>(BoolCondVal))
1374
+ addInstToNewSourceAtom (CondI , nullptr );
1375
1375
addInstToNewSourceAtom (I, nullptr );
1376
1376
1377
1377
if (ExitBlock != LoopExit.getBlock ()) {
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -gkey-instructions -x c++ %s -debug-info-kind=line-tables-only -emit-llvm -o - \
1
+ // RUN: %clang_cc1 -triple x86_64-linux-gnu - gkey-instructions -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 -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
// Perennial quesiton: should the inc be its own source atom or not
You can’t perform that action at this time.
0 commit comments