Page MenuHomePhabricator

[CFG] Add dumps for CFGElement and CFGElementRef
ClosedPublic

Authored by Szelethus on Sun, Aug 25, 6:31 AM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

Szelethus created this revision.Sun, Aug 25, 6:31 AM

Mind that I'll probably commit without the unit test, last time I learned the hard way that the AST's lifetime ends by the time we retrieve the CFG.

NoQ accepted this revision.Wed, Aug 28, 11:15 AM

Thanks!!

Mind that I'll probably commit without the unit test, last time I learned the hard way that the AST's lifetime ends by the time we retrieve the CFG.

Ouch. We'll need to fix that eventually because the CFG is, by design, filled with AST pointers.

This revision is now accepted and ready to land.Wed, Aug 28, 11:15 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptThu, Sep 12, 12:51 PM