This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA patch] PR18749: epilogue not tracked in dwarf2 unwind-info


On Mon, Jun 12, 2006 at 10:07:40PM +0200, Michael Matz wrote:
> Hi,
> 
> I'm trying to fix PR18749, which is about the fact that dwarf2out.c 
> doesn't look at epilogues at all, which makes the CFA be wrong during the 
> epilogue, as no adjustments there (like pops, or additions to the stack 
> pointer) are tracked.

Just FYI, there's also:
  http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01091.html

> For 1) I chose to only support jump-less epilogues.  That means I can 
> simply save the whole state before the epilogue, and restore it completely 
> afterwards.  (I did not look into using 
> DW_CFA_remember_state/restore_state)

>From reading your patch, I'd be worried about scheduling; you don't
know if something affecting unwind data has been scheduled into the
epilogue you're restoring after.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]