mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 21:49:06 +02:00
dbgllvm: skip static fields when writing struct fields
These are not part of the struct instances
This commit is contained in:
parent
f9b216f99a
commit
addd0e7dcf
@ -1174,6 +1174,10 @@ implementation
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
field:=tfieldvarsym(recst.symlist[i]);
|
field:=tfieldvarsym(recst.symlist[i]);
|
||||||
|
if (sp_static in field.symoptions) or
|
||||||
|
(field.visibility=vis_hidden) then
|
||||||
|
exit;
|
||||||
|
|
||||||
{ start of a new variant part? }
|
{ start of a new variant part? }
|
||||||
if vo_is_first_field in field.varoptions then
|
if vo_is_first_field in field.varoptions then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user