* fix compilation on targets that use Stabs debug information: ignore generic dummy symbols with no procdefs for generating stabs data

git-svn-id: trunk@48007 -
This commit is contained in:
svenbarth 2021-01-03 12:11:44 +00:00
parent 4a274cd63a
commit b8578f804f

View File

@ -480,6 +480,9 @@ implementation
begin
if tsym(p).typ = procsym then
begin
if (sp_generic_dummy in tsym(p).symoptions) and
(tprocsym(p).procdeflist.count=0) then
exit;
pd :=tprocdef(tprocsym(p).ProcdefList[0]);
if (po_virtualmethod in pd.procoptions) and
not is_objectpascal_helper(pd.struct) then