This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google] Patch to enable efficient function level instrumentation (issue 5416043)
- From: davidxl at google dot com
- To: harshit at google dot com, dnovillo at google dot com, iant at google dot com
- Cc: gcc-patches at gcc dot gnu dot org, reply at codereview-hr dot appspotmail dot com
- Date: Fri, 02 Dec 2011 19:37:38 +0000
- Subject: Re: [google] Patch to enable efficient function level instrumentation (issue 5416043)
- Reply-to: harshit at google dot com, dnovillo at google dot com, iant at google dot com, davidxl at google dot com, gcc-patches at gcc dot gnu dot org, reply at codereview-hr dot appspotmail dot com
http://codereview.appspot.com/5416043/diff/6001/gcc/config/i386/i386.c
File gcc/config/i386/i386.c (right):
http://codereview.appspot.com/5416043/diff/6001/gcc/config/i386/i386.c#newcode10881
gcc/config/i386/i386.c:10881: + '_function_patch_epilogue'. The
backpointer section can be used to navigate
Is it strictly necessary? If most of the functions are instrumented, can
the runtime instrumenter just recognize functions need patching via
pattern matching -- as least for function prologue?
http://codereview.appspot.com/5416043/