[Dwarf-Discuss] pubnames

Tom Tromey tromey@redhat.com
Tue Jan 13 21:09:12 GMT 2009


>>>>> "Andrew" == Andrew Cagney <andrew.cagney at gmail.com> writes:

>> In the case of the name of a function member or static data member
>> of a C++ structure, class or union, the name presented in the
>> .debug_pubnames section is not the simple name given by the
>> DW_AT_name attribute of the referenced debugging entry, but rather
>> the fully qualified name of the data or function member.

Andrew> - what of enums and consts, I'm guessing, since there's no concrete
Andrew> object these don't need to be represented

It would be useful to have enum constants in the pubnames table.
At least, my understanding is that the point of pubnames is to provide
an index to speed up searches by name.  If enum constant names are
omitted, it means that certain searches cannot use this mechanism.

Tom




More information about the Dwarf-discuss mailing list