On Wed, 11 Nov 2026 at 03:49, LIU Hao <[email protected]> wrote: > > +/* Regarding call-frame info notes: 32bits Windows port are either > DWARF2 or > ^^^ port[s] >
> > + .seh_proc __alloca
> > __alloca:
>
> Missing `.seh_endprologue` here; the prologue is empty.
[...]
> The other parts look OK, but I'm no GCC maintainer. I have added Jonathan
> and Eric in CC.
>
Thanks, Hao. Patch amended accordingly; attached. I added
notes in comments within _alloca to indicate spots where changes to the
stack state are not reflected to the seh unwinder.
With the little that the directives allow, it looks like they couldn't, for
the current code.
--
libgcc/
* config/i386/cygwin.S (__alloca, __x86_64__): Remove cfi_ macro
calls, add .seh start/endproc/endprologue directives and ammend
comments at spots where stack state alterations are not reflected.
(___chkstk_ms): Likewise. Also rework the code to match the
expected patterns for prologue/epilogue sequences and mark the
stack space allocation.
0001-cygwin-chkstk-functions-for-x86_64-more-amenable-to-seh.patch
Description: Binary data
