DW_EH_PE_aligned handling

Richard Henderson rth@redhat.com
Wed Dec 12 13:30:00 GMT 2001


On Wed, Dec 12, 2001 at 08:03:42PM +0100, Jakub Jelinek wrote:
> Is DW_EH_PE_aligned only meaningful if not ored with any of the low 4 bit
> values?

Yes.  It is only meaningful as an absolute encoding.

> Wouldn't it be better to handle DW_EH_PE_aligned as
> if ((encoding & 0x70) == DW_EH_PE_aligned)

What would you do with it?  Since DW_EH_PE_aligned overlaps the
other base encodings, the value can only be absolute.  At which
point you're pretty much stuck with sizeof(void*).


r~



More information about the Gcc mailing list