public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/PR-cgraph-dump-add-static-chain)] Dump static chain for cgraph_node.
@ 2021-11-08  9:28 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-08  9:28 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7436c63d2891972bcdd3d247908be28dc83004a1

commit 7436c63d2891972bcdd3d247908be28dc83004a1
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Nov 8 10:27:47 2021 +0100

    Dump static chain for cgraph_node.
    
    gcc/ChangeLog:
    
            * cgraph.c (cgraph_node::dump): Dump static_chain_decl.

Diff:
---
 gcc/cgraph.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index de078653781..8299ee92946 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-08  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08  9:28 [gcc(refs/users/marxin/heads/PR-cgraph-dump-add-static-chain)] Dump static chain for cgraph_node Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).