How do I use clang to generate a call graph of C++ code? I understand I need to use this, but I can't find any examples.
I already tried using python bindings for this, but they seem to be lacking some important functions.
Can anyone provide a minimal example of using current clang's API for this task?