aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-14 13:54:41 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-14 13:54:41 +0000
commite495a0c84ddde3fb1a080f32a98570ec1691f598 (patch)
tree9c3a97b192c04ecbda2954874da5c6d9a2a196c3 /gcc/cgraph.c
parent587aa06343905910d85ff1980cad0e3be57984b1 (diff)
downloadgcc-e495a0c84ddde3fb1a080f32a98570ec1691f598.zip
gcc-e495a0c84ddde3fb1a080f32a98570ec1691f598.tar.gz
gcc-e495a0c84ddde3fb1a080f32a98570ec1691f598.tar.bz2
[multiple changes]
2009-04-14 Rafael Avila de Espindola <espindola@google.com> Merge: 2008-12-19 Diego Novillo <dnovillo@google.com> * cgraph.c (dump_cgraph_node): Show memory address of NODE. From-SVN: r146036
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index d5dba42..86642ab 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1154,7 +1154,8 @@ void
dump_cgraph_node (FILE *f, struct cgraph_node *node)
{
struct cgraph_edge *edge;
- fprintf (f, "%s/%i(%i):", cgraph_node_name (node), node->uid, node->pid);
+ fprintf (f, "%s/%i(%i) [%p]:", cgraph_node_name (node), node->uid,
+ node->pid, (void *) node);
if (node->global.inlined_to)
fprintf (f, " (inline copy in %s/%i)",
cgraph_node_name (node->global.inlined_to),