[cfe-commits] [PATCH] call graph building

Zhongxing Xu xuzhongxing at gmail.com
Mon Jul 13 06:31:30 PDT 2009


This is an initial implementation of call graph building based on pch
reader and the new Program/Entity facility. It is very primitive but
functional.
Put the files under clang/tools/wpa (meaning 'whole program
analysis'). After 'make', a new command 'clang-analyze' will be
generated. It takes a list of .ast files and build call graph over
them.

-Zhongxing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CallGraph.cpp
Type: text/x-c++src
Size: 1933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090713/56bcc6c9/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CallGraph.h
Type: text/x-chdr
Size: 986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090713/56bcc6c9/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-analyze.cpp
Type: text/x-c++src
Size: 1359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090713/56bcc6c9/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090713/56bcc6c9/attachment.obj>


More information about the cfe-commits mailing list