[fpc-devel] Potentially wrong line info with dwarf 4
Florian Klämpfl
florian at freepascal.org
Thu May 23 22:55:55 CEST 2024
On 23.05.24 14:51, Martin Frb via fpc-devel wrote:
> If I am not missing any detail....
>
> Using -gw 4 it seems fpc writes the same header for line info as it does
> for dwarf 3.
>
> However, when the line info version is set to 4 (at least if all units
> are dwarf 4 / if some are dwarf 3 this may not be the case)
>
> Dwarf 4 has a new field in the header, and that is not written.
>
> objdump in this case delivers trash for the filenames (as they are not
> in the correct location)
>
>
> Afaik, the line info version can be set to 3, even if other dwarf info
> is version 4
I fixed the header. This was an easier one :)
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
More information about the fpc-devel
mailing list