This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v3] Caller instrumentation with -finstrument-calls


Hello Jan,
   
the MAINTAINERS file reveals that you are the right person to contact
for profile feedback related changes.

This is the third iteration of the caller instrumentation patch
originally posted and explained here:
http://gcc.gnu.org/ml/gcc-patches/2013-06/msg01593.html

The hooks now conform to the naming scheme suggested by Andrew Pinski
and the extra bitfield for the no_instrument_calls func attribute is
now relocated to tree_decl_with_vis (it was in tree_function_decl
before, but there is no room left there for another bitfield).

It would be great if this patch could make it into GCC 4.9.0.

Thanks,
Paul

Paul Woegerer (1):
  Caller instrumentation with -finstrument-calls.

 gcc/builtins.def                                |   5 ++
 gcc/c-family/c-common.c                         |  34 +++++++
 gcc/c/c-decl.c                                  |   2 +
 gcc/common.opt                                  |  20 ++++-
 gcc/cp/decl.c                                   |   2 +
 gcc/doc/invoke.texi                             |  42 +++++++++
 gcc/function.c                                  |   3 +-
 gcc/gimplify.c                                  | 113 +++++++++++++++++++++++-
 gcc/ipa.c                                       |   1 +
 gcc/java/jcf-parse.c                            |   1 +
 gcc/libfuncs.h                                  |   6 ++
 gcc/optabs.c                                    |   6 ++
 gcc/opts.c                                      |  10 +++
 gcc/testsuite/g++.dg/other/instrument_calls-1.C |  14 +++
 gcc/testsuite/g++.dg/other/instrument_calls-2.C |  20 +++++
 gcc/testsuite/g++.dg/other/instrument_calls-3.C |  17 ++++
 gcc/testsuite/gcc.dg/instrument_calls-1.c       |   8 ++
 gcc/testsuite/gcc.dg/instrument_calls-2.c       |   8 ++
 gcc/testsuite/gcc.dg/instrument_calls-3.c       |   8 ++
 gcc/testsuite/gcc.dg/instrument_calls-4.c       |   8 ++
 gcc/testsuite/gcc.dg/instrument_calls-5.c       |  11 +++
 gcc/testsuite/gcc.dg/instrument_calls-6.c       |  11 +++
 gcc/testsuite/gcc.dg/instrument_calls-7.c       |  13 +++
 gcc/testsuite/gcc.dg/instrument_calls-8.c       |   7 ++
 gcc/testsuite/gcc.dg/instrument_calls-9.c       |  12 +++
 gcc/tree-core.h                                 |   4 +-
 gcc/tree-streamer-in.c                          |   2 +
 gcc/tree-streamer-out.c                         |   1 +
 gcc/tree.h                                      |   6 ++
 29 files changed, 390 insertions(+), 5 deletions(-)
 create mode 100644 gcc/testsuite/g++.dg/other/instrument_calls-1.C
 create mode 100644 gcc/testsuite/g++.dg/other/instrument_calls-2.C
 create mode 100644 gcc/testsuite/g++.dg/other/instrument_calls-3.C
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-1.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-2.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-3.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-4.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-5.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-6.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-7.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-8.c
 create mode 100644 gcc/testsuite/gcc.dg/instrument_calls-9.c

-- 
1.8.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]