This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Marking the end of a function
- From: Andrew Haley <aph at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Nov 2002 17:25:28 +0000 (GMT)
- Subject: Re: Marking the end of a function
- References: <20020926001346.GK8492@redhat.com><15762.51664.377932.591774@cuddles.cambridge.redhat.com><20020926234744.GE17927@redhat.com><15764.6319.942777.657613@cuddles.cambridge.redhat.com><20020927162736.GD19327@redhat.com><15764.35805.598709.261477@cuddles.cambridge.redhat.com><20020927203013.GB19608@redhat.com><15771.8705.495518.99088@cuddles.cambridge.redhat.com><20021002230524.GB599@redhat.com><15772.3455.879547.125913@cuddles.cambridge.redhat.com><20021003173409.GA1797@redhat.com>
Richard Henderson writes:
> On Thu, Oct 03, 2002 at 10:27:27AM +0100, Andrew Haley wrote:
> > * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add
> > * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New.
> > * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise.
> > * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise.
>
> Thanks.
Uh, I forgot unwind.h. OK?
Andrew.
2002-11-25 Andrew Haley <aph@redhat.com>
* unwind.h (_Unwind_Find_Enclosing_Function): New.
Index: unwind.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/unwind.h,v
retrieving revision 1.6
diff -u -r1.6 unwind.h
--- unwind.h 15 Aug 2002 18:01:30 -0000 1.6
+++ unwind.h 25 Nov 2002 17:24:04 -0000
@@ -192,6 +192,10 @@
extern _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *);
#endif
+/* @@@ Given an address, return the entry point of the function that
+ contains it. */
+extern void * _Unwind_Find_Enclosing_Function (void *pc);
+
#ifdef __cplusplus
}
#endif