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: Problem with libiberty's hash tables


On Fri, Feb 15, 2008 at 09:13:34PM +0100, Paolo Bonzini wrote:
> 
> > The structures left at the end
> >(which correspond to memory leaks) are then displayed to allow the
> >user to fix his leaks. The CPU usage is probably the limiting factor,
> >here, as I want to avoid slowing the program down more than necessary.
> 
> Sure it's faster this way, but what's wrong with valgrind? ;-)

Or when only talking about memory leaks 
MALLOC_TRACE=myapp.log ./myapp args
mtrace ./myapp myapp.log

	Jakub


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