mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
2aa26a5543
commit
7088e2b0e8
|
|
@ -1,3 +1,9 @@
|
||||||
|
2015-03-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2015-03-12 Richard Biener <rguenther@suse.de>
|
2015-03-12 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
PR middle-end/44563
|
PR middle-end/44563
|
||||||
|
|
|
||||||
|
|
@ -292,9 +292,10 @@ print_graph_cfg (const char *base, struct function *fun)
|
||||||
pretty_printer graph_slim_pp;
|
pretty_printer graph_slim_pp;
|
||||||
graph_slim_pp.buffer->stream = fp;
|
graph_slim_pp.buffer->stream = fp;
|
||||||
pretty_printer *const pp = &graph_slim_pp;
|
pretty_printer *const pp = &graph_slim_pp;
|
||||||
pp_printf (pp, "subgraph \"%s\" {\n"
|
pp_printf (pp, "subgraph \"cluster_%s\" {\n"
|
||||||
|
"\tstyle=\"dashed\";\n"
|
||||||
"\tcolor=\"black\";\n"
|
"\tcolor=\"black\";\n"
|
||||||
"\tlabel=\"%s\";\n",
|
"\tlabel=\"%s ()\";\n",
|
||||||
funcname, funcname);
|
funcname, funcname);
|
||||||
draw_cfg_nodes (pp, fun);
|
draw_cfg_nodes (pp, fun);
|
||||||
draw_cfg_edges (pp, fun);
|
draw_cfg_edges (pp, fun);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue