dbgllvm: skip static fields when writing struct fields

These are not part of the struct instances
This commit is contained in:
Jonas Maebe 2022-06-07 21:12:49 +02:00
parent f9b216f99a
commit addd0e7dcf

View File

@ -1174,6 +1174,10 @@ implementation
continue;
field:=tfieldvarsym(recst.symlist[i]);
if (sp_static in field.symoptions) or
(field.visibility=vis_hidden) then
exit;
{ start of a new variant part? }
if vo_is_first_field in field.varoptions then
begin