Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2025-10

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

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Frb

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.

Reply by email