mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-01 08:45:58 +02:00
* don't write def for constant widestrings
git-svn-id: trunk@7167 -
This commit is contained in:
parent
d12c324f27
commit
d83a869018
@ -1640,7 +1640,7 @@ implementation
|
|||||||
|
|
||||||
if (target_info.system = system_powerpc64_linux) then
|
if (target_info.system = system_powerpc64_linux) then
|
||||||
procentry := '.' + pd.mangledname
|
procentry := '.' + pd.mangledname
|
||||||
else
|
else
|
||||||
procentry := pd.mangledname;
|
procentry := pd.mangledname;
|
||||||
|
|
||||||
append_labelentry(DW_AT_low_pc,current_asmdata.RefAsmSymbol(procentry));
|
append_labelentry(DW_AT_low_pc,current_asmdata.RefAsmSymbol(procentry));
|
||||||
@ -1852,7 +1852,7 @@ implementation
|
|||||||
DW_AT_name,DW_FORM_string,symname(sym)+#0
|
DW_AT_name,DW_FORM_string,symname(sym)+#0
|
||||||
]);
|
]);
|
||||||
{ for string constants, constdef isn't set because they have no real type }
|
{ for string constants, constdef isn't set because they have no real type }
|
||||||
if not(sym.consttyp in [conststring,constresourcestring]) then
|
if not(sym.consttyp in [conststring,constresourcestring,constwstring]) then
|
||||||
append_labelentry_ref(DW_AT_type,def_dwarf_lab(sym.constdef));
|
append_labelentry_ref(DW_AT_type,def_dwarf_lab(sym.constdef));
|
||||||
current_asmdata.asmlists[al_dwarf_abbrev].concat(tai_const.create_uleb128bit(ord(DW_AT_const_value)));
|
current_asmdata.asmlists[al_dwarf_abbrev].concat(tai_const.create_uleb128bit(ord(DW_AT_const_value)));
|
||||||
case sym.consttyp of
|
case sym.consttyp of
|
||||||
|
Loading…
Reference in New Issue
Block a user