This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: dwarf_aggregate_size() seems to fall over on pointer types
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 01 Oct 2014 13:33:48 -0700
- Subject: Re: dwarf_aggregate_size() seems to fall over on pointer types
> + /* Assume references and pointers have pointer size if not given an
> + explicit DW_AT_byte_size. */
> + case DW_TAG_pointer_type:
> + case DW_TAG_reference_type:
> + case DW_TAG_rvalue_reference_type:
> + return die->cu->address_size;
This seems reasonable to me.