aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Value.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-03-20 16:00:10 +0000
committerGitHub <noreply@github.com>2024-03-20 16:00:10 +0000
commit75dfa58ea93aa93b97534906778cb3dd24ba841a (patch)
tree962b67c84b739046bdde255a09167547fa147834 /llvm/lib/IR/Value.cpp
parenteb861acd49e4c6777e2fe09dd2004ac1f4731bba (diff)
downloadllvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.zip
llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.tar.gz
llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.tar.bz2
[RemoveDIs][NFC] Rename DPMarker->DbgMarker (#85931)
Another trivial rename patch, the last big one for now, which renamed DPMarkers to DbgMarkers. This required the field `DbgMarker` in `Instruction` to be renamed to `DebugMarker` to avoid a clash, but otherwise was a simple string substitution of `s/DPMarker/DbgMarker` and a manual renaming of `DPM` to `DM` in the few places where that acronym was used for debug markers.
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
-rw-r--r--llvm/lib/IR/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp
index 61e1c35..8522747 100644
--- a/llvm/lib/IR/Value.cpp
+++ b/llvm/lib/IR/Value.cpp
@@ -581,7 +581,7 @@ static void replaceDbgUsesOutsideBlock(Value *V, Value *New, BasicBlock *BB) {
DVI->replaceVariableLocationOp(V, New);
}
for (auto *DVR : DPUsers) {
- DPMarker *Marker = DVR->getMarker();
+ DbgMarker *Marker = DVR->getMarker();
if (Marker->getParent() != BB)
DVR->replaceVariableLocationOp(V, New);
}