[Bug default/26646] unexpectedly declaration-only types

gprocida at google dot com sourceware-bugzilla@sourceware.org
Mon Jan 24 17:29:08 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=26646

--- Comment #11 from gprocida at google dot com ---
Hi Dodji.

Thanks for digging into this. I don't really have any tools for working with
DWARF other than dwarfdump, grep etc.

For vmlinux3, I see 1 declaration

< 1><0x0000e14b>    DW_TAG_structure_type
                      DW_AT_name                  ip_mc_list
                      DW_AT_declaration           yes(1)

and 13 definitions starting with this one

< 1><0x00018293>    DW_TAG_structure_type
                      DW_AT_name                  ip_mc_list
                      DW_AT_byte_size             0x00000090

Tracing back all 13 definitions to potential functions and variables was beyond
what I could achieve.

If all 13 are indeed not reachable, that does explain what's going on.

Note that I see identical 1 + 13 DIEs for vmlinux4 but there we *do* get a
definition in the XML.

Regards,
Giuliano.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libabigail mailing list