projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7cd394
)
Dump static chain for cgraph_node.
author
Martin Liska
<mliska@suse.cz>
Mon, 8 Nov 2021 09:27:47 +0000
(10:27 +0100)
committer
Martin Liska
<mliska@suse.cz>
Mon, 8 Nov 2021 11:50:01 +0000
(12:50 +0100)
gcc/ChangeLog:
* cgraph.c (cgraph_node::dump): Dump static_chain_decl.
gcc/cgraph.c
patch
|
blob
|
history
diff --git
a/gcc/cgraph.c
b/gcc/cgraph.c
index
de07865
..
8299ee9
100644
(file)
--- 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)