This is an archive of the discontinued LLVM Phabricator instance.

[Analyzer][solver] Fix inconsistent equivalence class data
ClosedPublic

Authored by martong on Jul 19 2021, 8:56 AM.

Details

Summary

https://bugs.llvm.org/show_bug.cgi?id=51109

When we merged two classes, *this became an obsolete representation of
the new State. This is b/c the member relations had changed during the
previous merge of another member of the same class in a way that *this
had no longer any members. (mergeImpl might keep the member relations
to Other and could dissolve *this.)

Diff Detail

Event Timeline

martong created this revision.Jul 19 2021, 8:56 AM
martong requested review of this revision.Jul 19 2021, 8:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2021, 8:56 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
martong updated this revision to Diff 359813.Jul 19 2021, 9:00 AM
  • Remove unnecessary comment (the API tells it all)

Ah, I see now! I think we could've put together a somewhat easier test knowing what's wrong, but it's not important at all.
Thanks for addressing this issue!

vsavchenko accepted this revision.Jul 23 2021, 2:52 AM

Oh, I didn't accept it? Sorry!

This revision is now accepted and ready to land.Jul 23 2021, 2:52 AM

Oh, I didn't accept it? Sorry!

No problem, thanks for the review!

This revision was landed with ongoing or failed builds.Jul 23 2021, 5:26 AM
This revision was automatically updated to reflect the committed changes.