mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 19:38:10 +02:00
* Use DW_TAG_class_type for classes instead of DW_TAG_structure_type
git-svn-id: trunk@19481 -
This commit is contained in:
parent
89416ab0f5
commit
bbbc85bbf6
@ -3478,12 +3478,12 @@ implementation
|
||||
current_asmdata.asmlists[al_dwarf_info].concat(tai_symbol.create(def_dwarf_class_struct_lab(def),0));
|
||||
end;
|
||||
if assigned(objectname) then
|
||||
append_entry(DW_TAG_structure_type,true,[
|
||||
append_entry(DW_TAG_class_type,true,[
|
||||
DW_AT_name,DW_FORM_string,objectname^+#0,
|
||||
DW_AT_byte_size,DW_FORM_udata,tobjectsymtable(def.symtable).datasize
|
||||
])
|
||||
else
|
||||
append_entry(DW_TAG_structure_type,true,[
|
||||
append_entry(DW_TAG_class_type,true,[
|
||||
DW_AT_byte_size,DW_FORM_udata,tobjectsymtable(def.symtable).datasize
|
||||
]);
|
||||
{ Apple-specific tag that identifies it as an Objective-C class }
|
||||
|
Loading…
Reference in New Issue
Block a user