This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to find out all the calling instance of a class member function?
- From: "Peng Yu" <pengyu dot ut at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 29 Oct 2008 09:45:07 -0500
- Subject: How to find out all the calling instance of a class member function?
Hi,
Suppose I have a class B in namespace A, it has several overloaded
member function doit.
I'm wondering how to find all the lines where there is a statement
that calls one particular overloaded doit member function? Is it
possible to do so from g++ command line? Or I have to modify g++ to
make it be able to do so?
Thanks,
Peng