From 4dfa3251b5c88e7a5f135c8c97be4939f071e39b Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 8 Jan 2020 12:58:30 +0100 Subject: [PATCH] Use dump_asm_name for Callers/Calls in dump. 2020-01-08 Martin Liska * cgraph.c (cgraph_node::dump): Use systematically dump_asm_name. From-SVN: r279998 --- gcc/ChangeLog | 5 +++++ gcc/cgraph.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 005e2aa39ac..f8f4c704499 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-08 Martin Liska + + * cgraph.c (cgraph_node::dump): Use systematically + dump_asm_name. + 2020-01-08 Georg-Johann Lay Add -nodevicespecs option for avr. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 13238d3d442..aa2c476842a 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2036,7 +2036,7 @@ cgraph_node::dump (FILE *f) profile_count sum = profile_count::zero (); for (edge = callers; edge; edge = edge->next_caller) { - fprintf (f, "%s ", edge->caller->dump_name ()); + fprintf (f, "%s ", edge->caller->dump_asm_name ()); edge->dump_edge_flags (f); if (edge->count.initialized_p ()) sum += edge->count.ipa (); @@ -2045,7 +2045,7 @@ cgraph_node::dump (FILE *f) fprintf (f, "\n Calls: "); for (edge = callees; edge; edge = edge->next_callee) { - fprintf (f, "%s ", edge->callee->dump_name ()); + fprintf (f, "%s ", edge->callee->dump_asm_name ()); edge->dump_edge_flags (f); } fprintf (f, "\n"); -- 2.30.2