Re: where i should insert the finalize function for c++?

2020-04-27 Thread Martin Jambor
Hi, On Sun, Apr 26 2020, 易会战 via Gcc wrote: > I am working a instrumentation tool based on gcc. I insert some > intrumentation code into each function, including destructor > functions. A finalize function will free memory resources after all > work done. But I cannot find proper loacation

where i should insert the finalize function for c++?

2020-04-26 Thread 易会战 via Gcc
I am working a instrumentation tool based on gcc. I insert some intrumentation code into each function, including destructor functions. A finalize function will free memory resources after all work done. But I cannot find proper loacation calling my finalizing function since the destructor