[Bug default/26135] Wrong linkage name causes anonymous classes miscomparison
gprocida+abigail at google dot com
sourceware-bugzilla@sourceware.org
Thu Jul 16 18:32:57 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26135
--- Comment #5 from Giuliano Procida <gprocida+abigail at google dot com> ---
This is the patch I was working on that caused me to take a closer look.
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -3496,7 +3496,8 @@ public:
int tag = dwarf_tag(const_cast<Dwarf_Die*>(die));
if ((tag == DW_TAG_structure_type
|| tag == DW_TAG_class_type
- || tag == DW_TAG_union_type)
+ || tag == DW_TAG_union_type
+ || tag == DW_TAG_enumeration_type)
&& die_is_anonymous(die))
{
location l = die_location(*this, die);
This was an attempt to reduce the gap in behaviour between early and late type
canonicalisation by the DWARF reader.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libabigail
mailing list