Commit 82f331ff by Alexandre Oliva Committed by Alexandre Oliva

* cgraph.c (dump_cgraph_node): Honor -fdump-noaddr.

From-SVN: r147888
parent d641c815
2009-05-27 Alexandre Oliva <aoliva@redhat.com>
* cgraph.c (dump_cgraph_node): Honor -fdump-noaddr.
2009-05-26 Basile Starynkevitch <basile@starynkevitch.net> 2009-05-26 Basile Starynkevitch <basile@starynkevitch.net>
......
/* Callgraph handling code. /* Callgraph handling code.
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Jan Hubicka Contributed by Jan Hubicka
...@@ -1377,8 +1377,9 @@ void ...@@ -1377,8 +1377,9 @@ void
dump_cgraph_node (FILE *f, struct cgraph_node *node) dump_cgraph_node (FILE *f, struct cgraph_node *node)
{ {
struct cgraph_edge *edge; struct cgraph_edge *edge;
fprintf (f, "%s/%i(%i) [%p]:", cgraph_node_name (node), node->uid, fprintf (f, "%s/%i(%i)", cgraph_node_name (node), node->uid,
node->pid, (void *) node); node->pid);
dump_addr (f, " @", (void *)node);
if (node->global.inlined_to) if (node->global.inlined_to)
fprintf (f, " (inline copy in %s/%i)", fprintf (f, " (inline copy in %s/%i)",
cgraph_node_name (node->global.inlined_to), cgraph_node_name (node->global.inlined_to),
......
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