Bläddra i källkod

* 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 -
svenbarth 4 år sedan
förälder
incheckning
b8578f804f
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      compiler/dbgstabs.pas

+ 3 - 0
compiler/dbgstabs.pas

@@ -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