debug/dwarf: compute ByteSize for more DWARF types
When a size attribute is not present for a type, we can still determine
the object size in some other cases: when the type is a Typedef
referring to another type, when the type embeds a Typedef, or when the
type is a pointer and we know the default address size.
Reviewed-by: Rob Pike <firstname.lastname@example.org>
3 files changed