This is the mail archive of the gcc@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]

Code instrumentation with GCC


Hi,

Is there a way to make GCC to instrument every function it compiles with a 
prologue/epilogue call to a user defined code a la MSVC's _penter and 
_pexit, e.g.:

http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
http://msdn.microsoft.com/en-us/library/xc11y76y.aspx

If not, can anyone suggest a place in GCC's source to look at if one was to add
such functionality self.


Thanks,

- NK 



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