[cfe-dev] getting all function calls?
ret val
retval386 at gmail.com
Wed Jun 8 10:11:34 PDT 2011
I would like to write plugin that prints out all the functions that are
called and what function they are being called from, later on I would like
to know if a function pointer was called. I'm wondering what the best
approach would be.
I think I should use a ASTConsumer and implement the HandleTranslationUnit
method. From there I would have a ASTContext and I'm not entirely sure where
I could find the function calls.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110608/87b32b96/attachment.html>
More information about the cfe-dev
mailing list