up(semantics): add method to print dot graphs#3542
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
CodSpeed Performance ReportMerging #3542 will not alter performanceComparing Summary
|
|
I've added something similar in this series of PRs #3381. I'm really close to finishing this stack so you may want to wait for that(or merge this in before the said stack and I merge them together). |
|
Nice! Let's wait for the cfg stack, it's a tremendous of work 🌹 |
|
Closing as stale, feel free to submit another one basing on the current cfg crate. |
What This PR Does
Moves DOT graph creation logic out of
SemanticTesterand our CFG example and intoControlFlowGraph's API. This logic now lives inControlFlowGraph::dot().Why?
oxccrate may want to visualize and debug control flow graphs. This lets them do so easily.