This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Dump the environment entry kind as well
ClosedPublic

Authored by steakhal on Aug 18 2022, 12:56 AM.

Details

Summary

By this change the exploded-graph-rewriter will display the class kind
of the expression of the environment entry. It makes easier to decide if
the given entry corresponds to the lvalue or to the rvalue of some
expression.

It turns out the rewriter already had support for visualizing it, but
probably was never actually used?

Example rewritten-dump after my change:


Note the same pretty representation; now it's clear at first glance which is which.

Diff Detail

Event Timeline

steakhal created this revision.Aug 18 2022, 12:56 AM
Herald added a project: Restricted Project. · View Herald Transcript
steakhal requested review of this revision.Aug 18 2022, 12:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 12:56 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
steakhal edited the summary of this revision. (Show Details)Aug 18 2022, 12:57 AM
martong accepted this revision.Sep 1 2022, 4:28 AM

LGTM

This revision is now accepted and ready to land.Sep 1 2022, 4:28 AM
This revision was automatically updated to reflect the committed changes.