The compiler will sometimes emit a linkage name for a type, like:
<1d3> DW_AT_linkage_name: (indirect string, offset: 0x106f): 11__mbstate_t
These names aren't very useful, and this patch changes the DWARF
reader so that they are ignored by the cooked index.
{
switch (tag)
{
- /* We include types here because an anonymous C++ type might
- have a name for linkage purposes. */
- case DW_TAG_class_type:
- case DW_TAG_structure_type:
- case DW_TAG_union_type:
case DW_TAG_variable:
case DW_TAG_subprogram:
return true;