Skip to content

Add pass to generate call graph .dot file#8689

Draft
stevenfontanella wants to merge 1 commit into
mainfrom
call-graph-pass
Draft

Add pass to generate call graph .dot file#8689
stevenfontanella wants to merge 1 commit into
mainfrom
call-graph-pass

Conversation

@stevenfontanella
Copy link
Copy Markdown
Member

No description provided.

@kripken
Copy link
Copy Markdown
Member

kripken commented May 12, 2026

@stevenfontanella
Copy link
Copy Markdown
Member Author

I didn't know we had that! It looks like that pass only creates edges for direct calls (there's some mention of indirect calls but it looks incomplete?). In this pass we include these three types of edges that aren't there in the existing pass, as well as nodes for function HeapTypes.

I find this pass useful, maybe I can merge that into the existing pass with an option to print different types of edges?

@kripken
Copy link
Copy Markdown
Member

kripken commented May 12, 2026

sgtm to improve the existing pass. Maybe even without a new flag, just add to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants