This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Produce pointer values for callees of member operator calls.
ClosedPublic

Authored by mboehme on Aug 23 2023, 3:54 AM.

Details

Summary

Calls to member operators are a special case in that their callees have pointer
type. The callees of non-operator non-static member functions are not pointers.
See the comments in the code for details.

This issue came up in the Crubit nullability check; the fact that we weren't
modeling the PointerValue caused non-convergence.

Diff Detail

Event Timeline

mboehme created this revision.Aug 23 2023, 3:54 AM
Herald added a project: Restricted Project. · View Herald Transcript
mboehme requested review of this revision.Aug 23 2023, 3:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 3:54 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ymandel accepted this revision.Aug 23 2023, 5:35 AM
This revision is now accepted and ready to land.Aug 23 2023, 5:35 AM
xazax.hun accepted this revision.Aug 23 2023, 9:03 AM

CI failure looks unrelated

This revision was landed with ongoing or failed builds.Aug 24 2023, 12:12 AM
This revision was automatically updated to reflect the committed changes.