RE: CFA expression failure

2008-06-25 Thread Ye, Joey
, 2008 10:00 PM To: H.J. Lu Cc: Ye, Joey; gcc@gcc.gnu.org; Guo, Xuepeng Subject: Re: CFA expression failure On Tue, Jun 24, 2008 at 08:40:18PM -0700, H.J. Lu wrote: > I think the problem is in uw_update_context_1. REG_SAVED_EXP > and REG_SAVED_VAL_EXP may use other registers as shown

Re: CFA expression failure

2008-06-25 Thread Daniel Jacobowitz
On Tue, Jun 24, 2008 at 08:40:18PM -0700, H.J. Lu wrote: > I think the problem is in uw_update_context_1. REG_SAVED_EXP > and REG_SAVED_VAL_EXP may use other registers as shown above: > >DW_CFA_expression: r6 (esi) (DW_OP_breg5: -8) > > They should be handle last. I am testing this patch. D

Re: CFA expression failure

2008-06-25 Thread Daniel Jacobowitz
On Wed, Jun 25, 2008 at 10:02:40AM +0800, Ye, Joey wrote: > Daniel, > > We generate following DWARF2 instructions for stack alignment prologue. > Basically we use expression to calculate CFA. But it run into some > segfault in libmudflap and libjava. Do you have any hints what's wrong? The only t

Re: CFA expression failure

2008-06-24 Thread H.J. Lu
On Tue, Jun 24, 2008 at 08:40:18PM -0700, H.J. Lu wrote: > On Wed, Jun 25, 2008 at 10:02:40AM +0800, Joey Ye wrote: > > Daniel, > > > > We generate following DWARF2 instructions for stack alignment prologue. > > Basically we use expression to calculate CFA. But it run into some > > segfault in lib

Re: CFA expression failure

2008-06-24 Thread H.J. Lu
On Wed, Jun 25, 2008 at 10:02:40AM +0800, Joey Ye wrote: > Daniel, > > We generate following DWARF2 instructions for stack alignment prologue. > Basically we use expression to calculate CFA. But it run into some > segfault in libmudflap and libjava. Do you have any hints what's wrong? > > DW_CF