aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-04-21 16:38:38 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-04-21 14:38:38 +0000
commit0115e6c79b80b07f0c374ed8157bc0788e392ea6 (patch)
treeb5916b7801f70ee6e1700cfd3a21c5b1f2bbfee7 /gcc/cgraph.c
parent96c2a0d6ff6846753c883477538c2d2923a89ea6 (diff)
downloadgcc-0115e6c79b80b07f0c374ed8157bc0788e392ea6.zip
gcc-0115e6c79b80b07f0c374ed8157bc0788e392ea6.tar.gz
gcc-0115e6c79b80b07f0c374ed8157bc0788e392ea6.tar.bz2
cgraph.c (dump_cgraph_node): Dump also assembler name.
* cgraph.c (dump_cgraph_node): Dump also assembler name. * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Do not ice at WPA dumping. (cgraph_decide_inlining): Do not expect callee to be removed in all cases. From-SVN: r158607
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 682c3fb..c5e0f3d 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1629,6 +1629,8 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
fprintf (f, "%s/%i(%i)", cgraph_node_name (node), node->uid,
node->pid);
dump_addr (f, " @", (void *)node);
+ if (DECL_ASSEMBLER_NAME_SET_P (node->decl))
+ fprintf (f, " (asm: %s)", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (node->decl)));
if (node->global.inlined_to)
fprintf (f, " (inline copy in %s/%i)",
cgraph_node_name (node->global.inlined_to),