Use dump_asm_name for Callers/Calls in dump.

2020-01-08  Martin Liska  <mliska@suse.cz>

	* cgraph.c (cgraph_node::dump): Use systematically
	dump_asm_name.

From-SVN: r279998
This commit is contained in:
Martin Liska 2020-01-08 12:58:30 +01:00 committed by Martin Liska
parent e3e131c9bb
commit 4dfa3251b5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2020-01-08 Martin Liska <mliska@suse.cz>
* cgraph.c (cgraph_node::dump): Use systematically
dump_asm_name.
2020-01-08 Georg-Johann Lay <avr@gjlay.de>
Add -nodevicespecs option for avr.

View File

@ -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");