diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2009-05-27 03:29:41 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2009-05-27 03:29:41 +0000 |
commit | 82f331ff93ed75fef446c6a0c846ad22a49cd0dd (patch) | |
tree | b792f2b33c9c2f683e6ed8d1120f0244a7f4103a /gcc/cgraph.c | |
parent | d641c815d41691437b98bf0565285d220286b361 (diff) | |
download | gcc-82f331ff93ed75fef446c6a0c846ad22a49cd0dd.zip gcc-82f331ff93ed75fef446c6a0c846ad22a49cd0dd.tar.gz gcc-82f331ff93ed75fef446c6a0c846ad22a49cd0dd.tar.bz2 |
* cgraph.c (dump_cgraph_node): Honor -fdump-noaddr.
From-SVN: r147888
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index c7939b9..fe1126b 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1,5 +1,5 @@ /* Callgraph handling code. - Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 + Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Contributed by Jan Hubicka @@ -1377,8 +1377,9 @@ void dump_cgraph_node (FILE *f, struct cgraph_node *node) { struct cgraph_edge *edge; - fprintf (f, "%s/%i(%i) [%p]:", cgraph_node_name (node), node->uid, - node->pid, (void *) node); + fprintf (f, "%s/%i(%i)", cgraph_node_name (node), node->uid, + node->pid); + dump_addr (f, " @", (void *)node); if (node->global.inlined_to) fprintf (f, " (inline copy in %s/%i)", cgraph_node_name (node->global.inlined_to), |