This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Calculating array length
On Sun, 07 Jun 2009 19:49:24 +0200, Jan Kratochvil wrote:
> Guessing there should be new DWARF DW_AT_data_byte_size to be used in such
> case together with DW_AT_byte_size. DW_AT_data_byte_size would specify the
> variable size (8, 5, 13) and DW_AT_byte_size would specify the descriptor size
> (8 bytes in this case, assuming you used 32bit arch here).
That is excessive. DW_AT_byte_size of the array itself should specify its
size possibly less than number_of_elements * dw_at_byte_stride.
Sorry,
Jan