We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48e22da commit 7355223Copy full SHA for 7355223
llvm/lib/Transforms/Utils/Local.cpp
@@ -2657,13 +2657,13 @@ static bool rewriteDebugUsers(
2657
if (UndefOrSalvageDVR.count(DVR))
2658
continue;
2659
2660
- DbgValReplacement DVR = RewriteDVRExpr(*DVR);
+ DbgValReplacement DVRepl = RewriteDVRExpr(*DVR);
2661
if (!DVR)
2662
2663
2664
DVR->replaceVariableLocationOp(&From, &To);
2665
- DVR->setExpression(*DVR);
2666
- LLVM_DEBUG(dbgs() << "REWRITE: " << DVR << '\n');
+ DVR->setExpression(*DVRepl);
+ LLVM_DEBUG(dbgs() << "REWRITE: " << DVRepl << '\n');
2667
Changed = true;
2668
}
2669
0 commit comments