mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-05 10:46:19 +02:00
* don't write def for constant widestrings
git-svn-id: trunk@7167 -
This commit is contained in:
parent
d12c324f27
commit
d83a869018
@ -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