gprof and int overflow

Lewis Hyatt lhyatt@gmail.com
Fri Aug 21 01:50:00 GMT 2009


Ian Lance Taylor <iant <at> google.com> writes:

> It's a limitation of the format of the gmon.out file.  The counts are
> defined to be 32-bit integers.  I don't know of any workaround.
> 
> Ian
> 
> 

OK thanks... maybe some day there will be a -pg64 option to gcc or something
like that, since these days I can overflow a 32-bit counter on my coffee break
:-).

-Lewis



More information about the Binutils mailing list