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: Marking the end of a function


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


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