aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2014-06-29 01:31:40 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2014-06-28 23:31:40 +0000
commitd0bd8245b26cd1e6e6540e5f0697c96703707c02 (patch)
tree768b78865d200e7190ffc14800861439ecabdcde /gcc/cgraph.c
parentba429440d1ec7e8f1841dfd08fe6976737bbd060 (diff)
downloadgcc-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.c4
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");