Skip to content

Conversation

@sebastiankreutzer
Copy link
Member

@sebastiankreutzer sebastiankreutzer commented Aug 22, 2025

This patch adds CaGe, the call graph generator plugin for LLVM developed by @TimHeldmann.

This version is slightly modified from the original project to fit in with the rest of the MetaCG project.
So far, this patch only contains functionality to register the pass and build the call graph.
It does not include any call graph embedding functionality or runtime library for now.

To make this project easily extendable for different use cases, the pass can register different CallGraphCosumers.
At the moment, the only available consumer is the FileExporter, which writes the call graph to a file.

This is still a draft, as there is more work to be done to support proper testing.

Note: This patch relies on #83 and will be rebased on devel when it is accepted.

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.

1 participant