This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Bugfix for `refreshStructValue()`.
ClosedPublic

Authored by mboehme on Jul 17 2023, 7:26 AM.

Details

Summary

In the case where the expression was not yet associated with a storage location, we created a new storage location but failed to associate it with the expression.

The newly added test fails without the fix.

Diff Detail

Event Timeline

mboehme created this revision.Jul 17 2023, 7:26 AM
Herald added a project: Restricted Project. · View Herald Transcript
mboehme requested review of this revision.Jul 17 2023, 7:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2023, 7:26 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mboehme edited the summary of this revision. (Show Details)Jul 17 2023, 7:26 AM
mboehme added a reviewer: ymandel.
mboehme added a reviewer: xazax.hun.
xazax.hun accepted this revision.Jul 17 2023, 9:26 AM
This revision is now accepted and ready to land.Jul 17 2023, 9:26 AM
This revision was landed with ongoing or failed builds.Jul 17 2023, 11:56 AM
This revision was automatically updated to reflect the committed changes.