This is an archive of the discontinued LLVM Phabricator instance.

[CFG] Add dumps for CFGElement and CFGElementRef
ClosedPublic

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

Details

Diff Detail

Repository
rL LLVM

Event Timeline

Szelethus created this revision.Aug 25 2019, 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.Aug 28 2019, 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.Aug 28 2019, 11:15 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 12 2019, 12:51 PM