Commit df2a91de by Martin Jambor Committed by Martin Jambor

Fix dumping of "former thunk" info in cgraph dump

2019-03-12  Martin Jambor  <mjambor@suse.cz>

	* cgraph.c (cgraph_node::dump): Dump more info for former thunks,
	terminate with newline.

From-SVN: r269608
parent 63c79a75
2019-03-12 Martin Jambor <mjambor@suse.cz>
* cgraph.c (cgraph_node::dump): Dump more info for former thunks,
terminate with newline.
2019-03-12 Jakub Jelinek <jakub@redhat.com> 2019-03-12 Jakub Jelinek <jakub@redhat.com>
PR target/52726 PR target/52726
......
...@@ -2110,7 +2110,12 @@ cgraph_node::dump (FILE *f) ...@@ -2110,7 +2110,12 @@ cgraph_node::dump (FILE *f)
(int)thunk.virtual_offset_p); (int)thunk.virtual_offset_p);
} }
else if (former_thunk_p ()) else if (former_thunk_p ())
fprintf (f, " Former thunk"); fprintf (f, " Former thunk fixed offset %i virtual value %i "
"indirect_offset %i has virtual offset %i\n",
(int)thunk.fixed_offset,
(int)thunk.virtual_value,
(int)thunk.indirect_offset,
(int)thunk.virtual_offset_p);
if (alias && thunk.alias if (alias && thunk.alias
&& DECL_P (thunk.alias)) && DECL_P (thunk.alias))
{ {
......
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