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@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel