Commit a89bd7d2 by Jan Hubicka

* cgraph.c (cgraph_node::dump): Dump profile flags.

From-SVN: r219825
parent 15a43a0c
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -1986,6 +1986,18 @@ cgraph_node::dump (FILE *f) ...@@ -1986,6 +1986,18 @@ cgraph_node::dump (FILE *f)
fprintf (f," static_constructor (priority:%i)", get_init_priority ()); fprintf (f," static_constructor (priority:%i)", get_init_priority ());
if (DECL_STATIC_DESTRUCTOR (decl)) if (DECL_STATIC_DESTRUCTOR (decl))
fprintf (f," static_destructor (priority:%i)", get_fini_priority ()); fprintf (f," static_destructor (priority:%i)", get_fini_priority ());
if (frequency == NODE_FREQUENCY_HOT)
fprintf (f, " hot");
if (frequency == NODE_FREQUENCY_UNLIKELY_EXECUTED)
fprintf (f, " unlikely_executed");
if (frequency == NODE_FREQUENCY_EXECUTED_ONCE)
fprintf (f, " executed_once");
if (only_called_at_startup)
fprintf (f, " only_called_at_startup");
if (only_called_at_exit)
fprintf (f, " only_called_at_exit");
if (opt_for_fn (decl, optimize_size))
fprintf (f, " optimize_size");
fprintf (f, "\n"); fprintf (f, "\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment