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

r4start r4start at gmail.com
Thu Jul 26 03:42:26 PDT 2012


Hi all!

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?

Thanks in advance.
  - Dmitry Sokolov.



More information about the cfe-dev mailing list