From: Martin Liska Date: Tue, 6 Aug 2019 07:38:16 +0000 (+0200) Subject: Add operator new/delete to cgraph_node::dump. X-Git-Tag: upstream/12.2.0~22760 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a961aea3b7de700d68d460a496b1f4a65c5009b;p=platform%2Fupstream%2Fgcc.git Add operator new/delete to cgraph_node::dump. 2019-08-06 Martin Liska * cgraph.c (cgraph_node::dump): Dump DECL_IS_OPERATOR_NEW_P and DECL_IS_OPERATOR_DELETE_P. From-SVN: r274139 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccb7253..11ae775 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-08-06 Martin Liska + + * cgraph.c (cgraph_node::dump): Dump DECL_IS_OPERATOR_NEW_P + and DECL_IS_OPERATOR_DELETE_P. + 2019-08-06 Jakub Jelinek * tree.h (OMP_CLAUSE_LASTPRIVATE_TASKLOOP_IV): Rename to ... diff --git a/gcc/cgraph.c b/gcc/cgraph.c index bed407e..ed46d81 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");