mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 18:59:32 +02:00
* write types declared in the interface section with a DW_AT_external tag, should resolve #40210
This commit is contained in:
parent
3e3b96e088
commit
4848327300
@ -1894,6 +1894,8 @@ implementation
|
||||
append_entry(DW_TAG_typedef,false,[
|
||||
DW_AT_name,DW_FORM_string,symname(def.typesym, false)+#0
|
||||
]);
|
||||
if def.typesym.Owner.symtabletype=globalsymtable then
|
||||
append_attribute(DW_AT_external,DW_FORM_flag,[true]);
|
||||
append_labelentry_ref(DW_AT_type,labsym);
|
||||
finish_entry;
|
||||
current_asmdata.asmlists[al_dwarf_info].concat(tai_symbol.create(labsym,0));
|
||||
|
Loading…
Reference in New Issue
Block a user