Dump static chain for cgraph_node.

gcc/ChangeLog:

	* cgraph.c (cgraph_node::dump): Dump static_chain_decl.
This commit is contained in:
Martin Liska 2021-11-08 10:27:47 +01:00
parent b7cd394606
commit 409767d774

View File

@ -2203,6 +2203,10 @@ cgraph_node::dump (FILE *f)
fprintf (f, " %soperator_delete",
DECL_IS_REPLACEABLE_OPERATOR (decl) ? "replaceable_" : "");
function *fn = DECL_STRUCT_FUNCTION (decl);
if (fn != NULL && fn->static_chain_decl)
fprintf (f, " static_chain_decl");
fprintf (f, "\n");
if (thunk)