This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with x64 SEH macro implementation for ReactOS


Kai Tietz writes:
>Well, you mean the SEH tables on stack.

No, I mean the ABI required unwind information. 

> Well, those aren't implemented (as they aren't for 32-bit).

64-bit SEH handling is completely different from 32-bit SEH handling.
In the 64-bit Windows ABI exceptions are handled using unwind tables
similar in concept to DWARF2 exceptions.  There are no SEH tables on
the stack.  In the 32-bit ABI exceptions are handled using a linked list
of records on the stack, similar to SJLJ exceptions.

> But the the unwinding via  RtlUnwind and RtlUnwindEx do their job even
>for gcc compiled code quite well

I don't see how it would be possible in the general case.  Without the
unwind talbes Windows doesn't have the required information to unwind
through GCC compiled functions.

				Ross Ridge


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]