Don't add type linkage names to cooked index
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.
This commit is contained in:
parent
67e83a0dee
commit
acd121de32
1 changed files with 0 additions and 5 deletions
|
@ -17991,11 +17991,6 @@ tag_can_have_linkage_name (enum dwarf_tag tag)
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue