[llvm-dev] How to get callees?

Rotate Right via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 4 10:37:15 PST 2021


I intend to write a simple module pass which should print callees of each
function in it. Basically I want a call graph in CSV format. How do I do
this? Do I HAVE to iterate over all instructions in all functions to its
callees? Can I use CallGraph class here? If I use SCC pass then would it be
simpler?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210105/98ed9a2d/attachment.html>


More information about the llvm-dev mailing list