diff options
author | thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-13 09:45:48 +0000 |
---|---|---|
committer | thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-03-13 09:45:48 +0000 |
commit | dccaa1c0220ef6841dac00b37712930cc7646592 (patch) | |
tree | 98e4eebfe34f454f9b77f0ea343e781367ff2118 /gcc/graph.c | |
parent | 98b2c85f39b54df3bc2d48b16edf27d3e8703caf (diff) | |
download | gcc-dccaa1c0220ef6841dac00b37712930cc7646592.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221412 138bc75d-0d04-0410-961f-82ee72b054a4
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 a1eb24c49cc..5fb0d781bc2 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); |