This is an archive of the discontinued LLVM Phabricator instance.

[Assignment Tracking] Fix invalidated iterator usage
ClosedPublic

Authored by Orlando on Jan 16 2023, 7:34 AM.

Details

Summary

The iterator FirstOverlap is invalidated after the call to insert - avoid dereferencing the iterator after the call to insert.

Diff Detail

Event Timeline

Orlando created this revision.Jan 16 2023, 7:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2023, 7:34 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Jan 16 2023, 7:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2023, 7:34 AM
This revision is now accepted and ready to land.Jan 20 2023, 5:56 AM
This revision was landed with ongoing or failed builds.Jan 20 2023, 6:31 AM
This revision was automatically updated to reflect the committed changes.