I'm hoping someone here could take the time to outline what I need to do (i'm not looking for code but if you point me to some i'd appreciate it).
I'd like to track an object from the it's created until it's destroyed (in C++). And then see if a certain method of it is called or not. To keep it short we can limit this to one function at the beginning of which an object gets created and at the end of it the object goes out of scope. And i'm guessing this can be done via one a pass at the right time. I guess before gimplification or being converted to RTL and such. Any input's appreciated. thanks jeff