[cfe-commits] [PATCH]: arm definition of initDwarfEHRegSizeTable

Roman Divacky rdivacky at freebsd.org
Mon May 23 00:09:17 PDT 2011


On Thu, May 19, 2011 at 12:00:56AM +0100, Renato Golin wrote:
> On 18 May 2011 17:40, Roman Divacky <rdivacky at freebsd.org> wrote:
> > + ? ?// 0-15 are the 16 integer registers.
> > + ? ?AssignToArrayRange(Builder, Address, Four8, 0, 15);
> 
> Sorry to get in the wagon that late, but where is this used? Shouldn't
> it be part of the patch, too?
 
It's used for __builtin_init_dwarf_reg_size_table()

> Eli, as far as I know, EHABI doesn't use NEON registers for exception
> handling, so if this is just for EH, it should be safe to assume 0-15.
> 
> Also, ARM has more than 16 integer registers, but they're accessible
> in different modes, and always addressable via r0-r15 (except the xPSR
> and co-processors, which again, I don't think they're used for EH). So
> it should be safe to assume this range.
> 
> cheers,
> --renato



More information about the cfe-commits mailing list