This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA patch] PR18749: epilogue not tracked in dwarf2 unwind-info
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Jun 2006 16:14:04 -0400
- Subject: Re: [RFA patch] PR18749: epilogue not tracked in dwarf2 unwind-info
- References: <Pine.LNX.4.58.0606122139440.4311@wotan.suse.de>
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