diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-06-29 01:31:40 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-06-28 23:31:40 +0000 |
commit | d0bd8245b26cd1e6e6540e5f0697c96703707c02 (patch) | |
tree | 768b78865d200e7190ffc14800861439ecabdcde /gcc/cgraph.c | |
parent | ba429440d1ec7e8f1841dfd08fe6976737bbd060 (diff) | |
download | gcc-d0bd8245b26cd1e6e6540e5f0697c96703707c02.zip gcc-d0bd8245b26cd1e6e6540e5f0697c96703707c02.tar.gz gcc-d0bd8245b26cd1e6e6540e5f0697c96703707c02.tar.bz2 |
* cgraph.c (dump_cgraph_node): Dump init&fini priorities.
From-SVN: r212113
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 7360f77..43428be 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1986,6 +1986,10 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node) fprintf (f, " only_called_at_exit"); if (node->tm_clone) fprintf (f, " tm_clone"); + if (DECL_STATIC_CONSTRUCTOR (node->decl)) + fprintf (f," static_constructor (priority:%i)", node->get_init_priority ()); + if (DECL_STATIC_DESTRUCTOR (node->decl)) + fprintf (f," static_destructor (priority:%i)", node->get_fini_priority ()); fprintf (f, "\n"); |