[fpc-pascal] How __FPC_specific_handler() is invoked

Matias Vara matiasevara at gmail.com
Tue Jul 24 11:04:26 CEST 2018


Hello,

I am writing my own __FPC_specific_handler() but I can't figure out when
this function is registered. I guess this function is registered to the OS
to be invoked when an exception happens. In the assembler code I have
something like:

.seh_handler __FPC_specific_handler, at unwind

But I am puzzled by "@unwind". How is __FPC_specific_handler() invoked?

Matias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180724/3b8b35b7/attachment.html>


More information about the fpc-pascal mailing list