This is the mail archive of the
mailing list for the binutils project.
Re: ld-auto-import memory bug fixing
- To: "Binutils" <binutils at sources dot redhat dot com>
- Subject: Re: ld-auto-import memory bug fixing
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- Date: Fri, 7 Sep 2001 13:20:10 +0200
I like to analyse how ld grab memory in which functions. For that I have patched
malloc relating functions like xmalloc, bfd_malloc,... to print out the function
in which it is called, the params/result and accumulated memory usage.
At next I like to know the tree of functions which have this functions called
I know that gcc has support of basic block profiling. Could this used in anyway
to automated print out functions name on calling the relating functions ?