This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]