[Dwarf-Discuss] pubnames

Tom Tromey tromey at redhat.com
Tue Jan 13 13:09:12 PST 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