diff options
author | Martin Liska <mliska@suse.cz> | 2019-08-06 09:38:16 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-08-06 07:38:16 +0000 |
commit | 3a961aea3b7de700d68d460a496b1f4a65c5009b (patch) | |
tree | 5f05093cd96c89f27a807f3547cd4e770d3f9472 /gcc/cgraph.c | |
parent | d81ab49d0586fca0f3ee2f49c4581dd02508fcca (diff) |
Add operator new/delete to cgraph_node::dump.
2019-08-06 Martin Liska <mliska@suse.cz>
* cgraph.c (cgraph_node::dump): Dump DECL_IS_OPERATOR_NEW_P
and DECL_IS_OPERATOR_DELETE_P.
From-SVN: r274139
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index bed407e5766..ed46d81a513 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2080,6 +2080,11 @@ cgraph_node::dump (FILE *f) fprintf (f, " optimize_size"); if (parallelized_function) fprintf (f, " parallelized_function"); + if (DECL_IS_OPERATOR_NEW_P (decl)) + fprintf (f, " operator_new"); + if (DECL_IS_OPERATOR_DELETE_P (decl)) + fprintf (f, " operator_delete"); + fprintf (f, "\n"); |