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: Emit unwind information for Thumb


On Mon, Jan 19, 2004 at 01:34:20PM -0800, Richard Henderson wrote:
> On Mon, Jan 19, 2004 at 03:54:24PM -0500, Daniel Jacobowitz wrote:
> >m This patch implements one of my suggestions from gcc@ a week or two ago:
> > rather than converting Thumb prologue generation to RTL, which would be a
> > fragile and dubiously useful proposition, I simply generate a
> > REG_FRAME_RELATED_EXPR sequence to describe the text sequence.  This
> > required adding support for CODE_LABELs in frame-related SEQUENCE rtl, since
> > the unwind information describes multiple instructions that need to be
> > described separately.
> 
> Why don't you call into the dwarf2 frame generation routines directly,
> as we do with other targets that emit prologues as text (e.g. m68k)?

Cause I completely failed to notice that it was possible?  Patch
withdrawn in favor of an obviously superior approach.  I'll redo it
later.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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