Call graphs in clang

Hi

Is there a way to generate call graphs in clang ?

Thanks
Manavender

There is an implementation in clang/lib/Index/CallGraph.cpp
You can try it with clang-wpa in clang/example

clang-wpa -view-call-graph a.ast b.ast

where *.ast is generated by clang -cc1 -emit-pch