PATCH: Share the dwarf2 unwind code between glibc and gcc 3.0

Jakub Jelinek jakub@redhat.com
Mon Jul 9 13:28:00 GMT 2001


On Mon, Jul 09, 2001 at 01:24:01PM -0700, Richard Henderson wrote:
> On Mon, Jul 09, 2001 at 03:05:29PM +0200, Jakub Jelinek wrote:
> > - the registration/deregistration functions plus _Unwind_Find_FDE
> 
> This is all fine.
> 
> > - on platforms which need it __frame_state_for too.
> 
> What if glibc's implementation of __frame_state_for dlopen'ed
> libgcc_s and called the implementation therein?

Yes, sounds like a good plan.

> This avoids the extra run-time overhead you're concerned about
> for normal C programs, and only affects those C++ v2 programs
> that actually throw an exception.

	Jakub



More information about the Libc-alpha mailing list