[RFC] Win64 SEH support

Kai Tietz ktietz70@googlemail.com
Fri Oct 22 18:32:00 GMT 2010


2010/10/22 Richard Henderson <rth@redhat.com>:
> This is a consolidated patch for the work I've been doing
> on a (git) branch for SEH support.  I've been intending to
> mash the branch patches together and separate them back
> out into logical units.  To some extent I've already begun
> that with some of the patches that have already been applied
> to mainline, however, I realize that I'm running out of time
> to officially submit this before the end of stage1.

Thank you for posting them now.

> I think the only real question that's open is if we should
> have a configure switch a-la --enable-sjlj-exceptions in
> order to switch between dwarf2 and seh based exceptions.
>
> I personally don't think that's very useful.  The main
> reason to want to use the x64 seh unwind info is that it
> is supported by the object format and the system similar
> to how PT_GNU_FRAME is supported under ELF -- one no longer
> has to register and de-register eh_frame data during
> shared library load and unload.
>
> Comments?

I know that I were initially voting for having here a configure option
to switch between SjLj and the new SEH unwinding. As I am testing this
patch already for I while, I admit that I came also to the point that
it isn't essential (and maybe even problematic in some points) to have
this fallback option to support here SjLj. So my vote is for not
supporting SjLj by configure for this target anymore.


Regards,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Gcc-patches mailing list