[Dwarf-discuss] Ordering of DW_OP_piece pieces
Todd Allen
todd.allen
Tue Apr 5 16:19:45 GMT 2005
On Tue, Apr 05, 2005 at 02:30:08PM -0500, Jim Blandy wrote:
>
> Does the standard explain what order DW_OP_piece pieces appear in?
>
> Specifically, do pieces appear in order of increasing address, were
> the value to be entirely stored in memory, or in order of significance
> (least / most significant first)? Given that "more significant" and
> "less significant" aren't meaningful terms for values like structures,
> I'd expect the pieces to appear in memory order, but I can't find
> anything that specifies that.
>
Memory order was our interpretation, too. After all, one of the pieces might
be in memory and, as a result, that piece is guaranteed to be in memory order
internally. :) So it only makes sense that the pieces should appear in
memory order, too.
But I can't find any justification in the text for that. It probably could
stand to be clarified.
--
Todd Allen
Concurrent Computer Corporation
More information about the Dwarf-discuss
mailing list