[PATCH] track heap usage with -fmem-report

Marek Polacek polacek@redhat.com
Thu Mar 7 13:21:00 GMT 2013

On Thu, Mar 07, 2013 at 01:59:31PM +0100, Richard Biener wrote:
> This hacky patch tracks per-pass heap usage with -fmem-report
> using glibc malloc hooks (which are deprecated!?  eh ...  I can
> see no replacement?)

The "replacement" is that we should intercept the malloc calls
instead (as those always use PLT).


More information about the Gcc-patches mailing list