[Dwarf-Discuss] DW_TAG_base_type must have DW_AT_name?

Roland McGrath roland@redhat.com
Wed Oct 27 19:36:27 GMT 2010


> We've added recently code into GCC so that we generate "__unknown__"
> name for base types if there is no real user name for these language
> lawyering reasons, if there is general agreement this can be changed
> into "may have" I'd be more than happy to change it back.

IMHO this comes under the general permissiveness rule of DWARF.
I see no reason to emit entirely useless attributes in any case.




More information about the Dwarf-discuss mailing list