gcov and C++'s global destructors

Sven C. Koehler schween@snafu.de
Sat Jan 12 15:15:00 GMT 2002


Joe and Janis, thank you very much for your help!  Janis, I added the
line you mentioned, and it worked for me. :-)

Best regards,

Sven C. Koehler

On Fri, Jan 11, 2002 at 10:12:42AM -0800, Janis Johnson wrote:
> On Fri, Jan 11, 2002 at 09:57:34AM -0800, Joe Buck wrote:
> Try adding the following line to the end of the source file containing
> the destructor definitions:
> 
>   __asm(" .section .fini; call __bb_exit_func")
> 
> It worked for me to get the destructor counts, although it also doubles
> all of the other counts.
> 
> Janis



More information about the Gcc mailing list