[fpc-pascal] Profiling

Michael Van Canneyt michael at freepascal.org
Tue Jan 27 10:15:48 CET 2009

On Tue, 27 Jan 2009, Jonas Maebe wrote:

> On 27 Jan 2009, at 10:49, Graeme Geldenhuys wrote:
> >I can confirm with Mattias. I tried over a year ago to do profiling
> >using gprof. It always generated a empty (0 byte) file. Nothing else.
> >I posted messages to the mailing list and was told to try valgrind
> >instead. It issues with gprof was known at the time.
> If there is no bug report about it, it's very likely that it will be forgotten
> over time (as in this case, apparently -- I indeed seem to remember that at
> one point I knew about this).

There is indeed a problem. I submitted a bugreport with a test program.

The program does not execute correctly when compiled with -pg.


More information about the fpc-pascal mailing list