[fpc-devel] known issue? specialize of generic of other unit with -alr (generate asm) does not include line-num comment nor src comments

Martin Frb lazarus at mfriebe.de
Wed Oct 1 21:55:44 CEST 2025


Is this a know issue? Is it an issue at all?

Normally -al / -alr will generate nice comments
    # [872] if AnInsertSize > 0 then

the line number, and source.

But if specializing a generic from another unit, that info is 
unfortunately not included.

Now I don't know if the source is avail (because the compiler only has 
what is in the ppu).
But, since line numbers for dwarf are generated, the line numbers should 
be available.


More information about the fpc-devel mailing list