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]
Other format: [Raw text]

Re: gcov and C++'s global destructors


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


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