mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 19:09:21 +02:00
* 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:
parent
4a274cd63a
commit
b8578f804f
@ -480,6 +480,9 @@ implementation
|
|||||||
begin
|
begin
|
||||||
if tsym(p).typ = procsym then
|
if tsym(p).typ = procsym then
|
||||||
begin
|
begin
|
||||||
|
if (sp_generic_dummy in tsym(p).symoptions) and
|
||||||
|
(tprocsym(p).procdeflist.count=0) then
|
||||||
|
exit;
|
||||||
pd :=tprocdef(tprocsym(p).ProcdefList[0]);
|
pd :=tprocdef(tprocsym(p).ProcdefList[0]);
|
||||||
if (po_virtualmethod in pd.procoptions) and
|
if (po_virtualmethod in pd.procoptions) and
|
||||||
not is_objectpascal_helper(pd.struct) then
|
not is_objectpascal_helper(pd.struct) then
|
||||||
|
Loading…
Reference in New Issue
Block a user