This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A proposal to align GCC stack
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ross Ridge <rridge at csclub dot uwaterloo dot ca>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 18 Dec 2007 08:47:35 -0500
- Subject: Re: A proposal to align GCC stack
- References: <20071218042535.3FB1F73CC4@caffeine.csclub.uwaterloo.ca>
On Mon, Dec 17, 2007 at 11:25:35PM -0500, Ross Ridge wrote:
> >// Reserve two stack slots and save return address
> >// and previous frame pointer into them. By
> >// pointing new ebp to them, we build a pseudo
> >// stack for unwinding
>
> Hmmm... I don't know much about the DWARF unwind information, but
> couldn't it handle this case without creating the "pseudo frame"?
> Or at least be extended so it could?
In practice, there are non-DWARF unwinders scattered all over that
work on i386 and folks want to keep them working. DWARF has no
trouble handling this sort of thing.
--
Daniel Jacobowitz
CodeSourcery