From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joost van der Sluis <joost@cnoc.nl>
Cc: archer@sourceware.org
Subject: Re: Calculating array length
Date: Sun, 07 Jun 2009 17:59:00 -0000 [thread overview]
Message-ID: <20090607175903.GA9385@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20090607174924.GA4174@host0.dyn.jankratochvil.net>
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
next prev parent reply other threads:[~2009-06-07 17:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 10:23 Joost van der Sluis
2009-06-07 14:48 ` Jan Kratochvil
2009-06-07 16:06 ` Joost van der Sluis
2009-06-07 17:49 ` Jan Kratochvil
2009-06-07 17:59 ` Jan Kratochvil [this message]
2009-06-12 21:24 ` Joost van der Sluis
2009-06-15 11:57 ` Jan Kratochvil
2009-06-15 12:16 ` Jan Kratochvil
2009-06-14 20:30 ` Joost van der Sluis
2009-06-20 22:34 ` Jan Kratochvil
2009-06-22 12:07 ` Joost van der Sluis
2009-06-22 12:15 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090607175903.GA9385@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=archer@sourceware.org \
--cc=joost@cnoc.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).