Making the member conditional but writing to it unconditionally seems
like it would overflow the stack variable on GCC?
On 2014-09-07 23:40, tkreu...@svn.reactos.org wrote:
> +#ifdef __clang__
> +void *ReturnAddress;
> #endif
> +/* Safe the return address */
> +mov ebx, [esp]
> +
The function is only called when the exception registration frame is
marked as a Clang registration frame.
The lib handles different registration frames, which is required for C
vs C++ and I chose to keep this for Clang,
to be able to mix GCC and Clang compiled object files in a single module.
I'l
On 2014-09-07 23:40, tkreu...@svn.reactos.org wrote:
> --- trunk/reactos/lib/pseh/i386/pseh3_i386.S [iso-8859-1] (original)
> +++ trunk/reactos/lib/pseh/i386/pseh3_i386.S [iso-8859-1] Sun Sep 7
> 21:40:07 2014
> @@ -30,6 +30,10 @@
> mov [eax + SEH3_REGISTRATION_FRAME_Esi], esi
> mov [