Prior to this commit, dwarf2json ignores typedefs and generates
unnamed user_types for anonymous structs. This makes it difficult
to refer to those types.
This PR uses a typedef's name to refer to a user_type when
dwarf2json encounters an anonymous struct instead of using a generated
name.
Resolves volatilityfoundation/volatility3#985
Prior to this commit, dwarf2json ignores typedefs and generates unnamed user_types for anonymous structs. This makes it difficult to refer to those types.
This PR uses a typedef's name to refer to a user_type when dwarf2json encounters an anonymous struct instead of using a generated name.