diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-18 19:31:58 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-18 19:31:58 +0000 |
commit | f070b34df3b6f0bad47b833b8d2a387bcde9c74d (patch) | |
tree | 41064c267418cb42f47d05f51274dd4568a5a408 /gcc/cgraph.c | |
parent | 9d67ffb2ff270a20381888512c558cbf46dcf290 (diff) | |
download | gcc-f070b34df3b6f0bad47b833b8d2a387bcde9c74d.tar.gz |
* cgraph.c (cgraph_node::dump): Dump profile flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219825 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index b28966e5185..29090a209e5 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1986,6 +1986,18 @@ cgraph_node::dump (FILE *f) fprintf (f," static_constructor (priority:%i)", get_init_priority ()); if (DECL_STATIC_DESTRUCTOR (decl)) 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"); |