[cfe-dev] Microsoft C++ exception handling.

John McCall rjmccall at apple.com
Thu Jul 26 17:19:08 PDT 2012

On Jul 26, 2012, at 3:42 AM, r4start wrote:
> For C++ EH cl build stub __ehhandler$mangled_function_name (for each 
> function with EH).
> This stub consist of 2 instructions:
> __ehhandler$_main:
> mov         eax,offset __TI1?AUmy_exception1@@+50h (address of __ehfuncinfo)
> jmp         @ILT+395(___CxxFrameHandler3)
> How can I implement this behavior?

Is this for SEH or for Win64 exceptions?


More information about the cfe-dev mailing list