mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 00:09:32 +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;
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user