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.

@sebastiankreutzer sebastiankreutzer force-pushed the feat/cage branch 7 times, most recently from ca75a03 to dae1168 Compare August 25, 2025 12:20
Co-authored-by: Tim Heldmann <tim.heldmann@tu-darmstadt.de>

# Conflicts:
#	tools/CMakeLists.txt
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