You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix an invalid iterator dereference in LiveDebugValues.
The early exit to avoid tracking spills for async entry values
if (IsSwiftAsyncFunction && Var.second.Properties.DIExpr &&
Var.second.Properties.DIExpr->isEntryValue())
continue;
skips over
loadVarInloc(MBB, DbgOpStore, ValueToLoc, Var.first, Var.second);
which among many other things inserts the variable into ActiveVLocs.
auto Result = ActiveVLocs.insert(std::make_pair(Var, NewValue));
This breaks two places where we assume that
ActiveVLocs.find(Var)
always succeeds.
rdar://106291711
0 commit comments