[llvm] [RemoveDIs][ValueMapper] Remap DIAssignIDs in DPValues (PR #81595)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 03:20:56 PST 2024
================
@@ -552,6 +552,7 @@ void Mapper::remapDPValue(DPValue &V) {
V.setKillAddress();
else if (NewAddr)
V.setAddress(NewAddr);
+ V.setAssignId(cast<DIAssignID>(mapMetadata(V.getAssignID())));
----------------
SLTozer wrote:
🤦 Surprised this didn't show up in any testing earlier, thanks for spotting it quickly though!
https://github.com/llvm/llvm-project/pull/81595
More information about the llvm-commits
mailing list