diff options
author | Martin Jambor <mjambor@suse.cz> | 2019-03-12 13:39:18 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2019-03-12 13:39:18 +0100 |
commit | df2a91dece0ac6e410e3cf48b39cba8c3744c5f3 (patch) | |
tree | b986efed4d250ddcef5494665e946d9bcd497a0a /gcc/cgraph.c | |
parent | 63c79a7509c1ce5e8439d23a8f2de096ce0dec7c (diff) | |
download | gcc-df2a91dece0ac6e410e3cf48b39cba8c3744c5f3.tar.gz |
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
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 9f0d603a1cf..49d80ad1e28 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2110,7 +2110,12 @@ cgraph_node::dump (FILE *f) (int)thunk.virtual_offset_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 && DECL_P (thunk.alias)) { |