[PATCH] Cygwin: aarch64 SEH fixes and handler refactoring

Igor Podgainoi Igor.Podgainoi@arm.com
Fri Mar 27 13:01:03 GMT 2026


Hi Corinna,

On Mar 25 18:59, Corinna Vinschen wrote:
> On Mar 24 12:42, Thirumalai Nagalingam wrote:
> > In-lined patch:
> > [...]
> > diff --git a/winsup/cygwin/local_includes/exception.h b/winsup/cygwin/local_includes/exception.h
> > [...]
> 
> This, I don't understand and looks wrong to me.
> 
> For aarch64, you're defining EXCEPTION_HANDLER_DATA as an empty macro.
> EXCEPTION_HANDLE_REF is exclusively referenced from this macro, so given
> it's empty, EXCEPTION_HANDLE_REF is entirely unused on aarch64.
> 
> Isn't there a non-empty definition for EXCEPTION_HANDLER_DATA on aarch64
> missing from this patch?

I have now addressed the empty EXCEPTION_HANDLER_DATA macro in a
follow-up patch on top of this series:
https://cygwin.com/pipermail/cygwin-patches/2026q1/014861.html

An updated version of the TRY_HANDLER_DATA patch will follow shortly.

Regards,
Igor Podgainoi
Arm


More information about the Cygwin-patches mailing list