mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 03:30:39 +02:00
Try to avoid problems with generic types for stabs/stabx
git-svn-id: trunk@27635 -
This commit is contained in:
parent
9a40ff19a1
commit
356ea656e4
@ -527,7 +527,11 @@ implementation
|
||||
begin
|
||||
sym:=tsym(st.SymList[i]);
|
||||
if (sym.visibility<>vis_hidden) and
|
||||
(not sym.isdbgwritten) then
|
||||
(not sym.isdbgwritten) and
|
||||
{ avoid all generic symbols }
|
||||
not (sp_generic_dummy in sym.symoptions) and
|
||||
not ((sym.typ=typesym) and assigned(ttypesym(sym).typedef) and
|
||||
(df_generic in ttypesym(sym).typedef.defoptions)) then
|
||||
appendsym(list,sym);
|
||||
end;
|
||||
case st.symtabletype of
|
||||
|
@ -187,6 +187,8 @@ implementation
|
||||
result := Sym.Name
|
||||
else
|
||||
result := Sym.RealName;
|
||||
if (Sym.typ=typesym) and (ttypesym(Sym).Fprettyname<>'') then
|
||||
result:=ttypesym(Sym).FPrettyName;
|
||||
if target_asm.dollarsign<>'$' then
|
||||
result:=ReplaceForbiddenAsmSymbolChars(result);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user