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]

G++ internals question: how do I ...


I have a need, for debugging purposes, to have g++ generate an extra call
at the end of every constructor to a special function with the parameters
of this and sizeof(*this).  The numbere of classes that I'd like to do this
with is huge, so I was hoping to modify the compiler a little to help me
out.  Where would I look to insert this code?  It should be the last
thing done before the ctor returns.

Thanks much for any help you can give me here.

Warner


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