diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2015-03-13 09:45:48 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2015-03-13 09:45:48 +0000 |
commit | 7088e2b0e8c334ca346f88cc2b143d9db2c97fbf (patch) | |
tree | 98e4eebfe34f454f9b77f0ea343e781367ff2118 /gcc/graph.c | |
parent | 2aa26a5543cfd6fc2c03051d532f778da8318e9b (diff) | |
download | gcc-7088e2b0e8c334ca346f88cc2b143d9db2c97fbf.zip gcc-7088e2b0e8c334ca346f88cc2b143d9db2c97fbf.tar.gz gcc-7088e2b0e8c334ca346f88cc2b143d9db2c97fbf.tar.bz2 |
graph.c (print_graph_cfg): Make function names visible and append parenthesis to it.
2015-03-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
* graph.c (print_graph_cfg): Make function names visible and append
parenthesis to it. Also make groups of basic blocks belonging to the
same function visible.
From-SVN: r221412
Diffstat (limited to 'gcc/graph.c')
-rw-r--r-- | gcc/graph.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index a1eb24c..5fb0d78 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -292,9 +292,10 @@ print_graph_cfg (const char *base, struct function *fun) pretty_printer graph_slim_pp; graph_slim_pp.buffer->stream = fp; pretty_printer *const pp = &graph_slim_pp; - pp_printf (pp, "subgraph \"%s\" {\n" - "\tcolor=\"black\";\n" - "\tlabel=\"%s\";\n", + pp_printf (pp, "subgraph \"cluster_%s\" {\n" + "\tstyle=\"dashed\";\n" + "\tcolor=\"black\";\n" + "\tlabel=\"%s ()\";\n", funcname, funcname); draw_cfg_nodes (pp, fun); draw_cfg_edges (pp, fun); |