[ros-dev] seh 64

Timo Kreuzer timo.kreuzer at web.de
Mon Nov 10 01:51:07 CET 2008


KJK::Hyperion schrieb:
>
> What is your plan to make the C front-end of GCC generate the equivalent
> of SCOPE_TABLE data? And will it have source-level compatibility with PSEH?
>   
Ok, I'm going to explain, because you asked so nice.

#define _SEH_emit_begintry() \
    asm volatile (".cfi_escape 0x1c");

This will emit a user defined cfi code in the .eh_frame section. Current
offset from function start can be parsed.
The data will be parsed together with gcc generated unwind info and
converted into RUNTIME_FUNCTION, UNWIND_INFO, UNWIND_CODEs and
C_SCOPE_TABLE.

And of cause PSEH source level compatability is planned. Although I
might go for msvc source compatability and the create a common wrapper
if that works.

Regards,
Timo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20081110/1b5589f8/attachment.html 


More information about the Ros-dev mailing list