[fpc-devel] fpc map file

Daniël Mantione daniel.mantione at freepascal.org
Sat Apr 18 08:22:07 CEST 2009



Op Sat, 18 Apr 2009, schreef Paul Ishenin:

> Hello, FPC developers' list
>
> I've found one interesting tool for delphi which I really want to have for 
> lazarus and fpc: http://delphitools.info/samplingprofiler/
>
> To work that tool uses map files which generates delphi. I contacted to 
> author and asked him to add support for fpc. But there is one problem - fpc 
> map files does not contains line info.
>
> Here is small discussion with Sampling Profiler author I had: 
> http://delphitools.info/forums/index.php?topic=13.0
>
> Can fpc team extend output made by -Xm with line info?

Not if the GNU linker is used, which is the case for the majority of 
platforms.

Check the lineinfo unit, it retrieves line number information from the 
debug information.

Daniël


More information about the fpc-devel mailing list