diff options
author | Dan Sheridan <djs@postman.org.uk> | 2007-05-15 12:26:53 +0100 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-05-22 14:51:30 -0700 |
commit | bb7ff206a0a1afca8eefbf3fedd7b5962cdec6f1 (patch) | |
tree | bb4becf132b9023b86c11d6ee0836d2e75b71d01 /symbol.h | |
parent | Remove extra space. (diff) | |
download | sparse-bb7ff206a0a1afca8eefbf3fedd7b5962cdec6f1.tar.gz sparse-bb7ff206a0a1afca8eefbf3fedd7b5962cdec6f1.tar.bz2 sparse-bb7ff206a0a1afca8eefbf3fedd7b5962cdec6f1.zip |
Improved graph generation using subgraph clusters for functions
Improve the dot files generated by graph.c to put the basic blocks for
each function into their own labelled subgraph cluster and to
distinguish between branches and function calls using different edge
types. Requires a change to struct symbol to keep track of the
entrypoint associated with a given function identifier.
Currently, no attempt is made to handle indirect function calls -- they
are just ignored.
Signed-off-by: Dan Sheridan <djs@adelard.com>
Diffstat (limited to 'symbol.h')
-rw-r--r-- | symbol.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -148,6 +148,7 @@ struct symbol { struct statement *inline_stmt; struct symbol_list *inline_symbol_list; struct expression *initializer; + struct entrypoint *ep; long long value; /* Initial value */ }; }; |