<div dir="ltr"><div>Hello,</div>I partial answered my question by reading <a href="https://www.freepascal.org/docs-html/ref/refse114.html">https://www.freepascal.org/docs-html/ref/refse114.html</a>. So I think <span style="font-size:12.8px">_fpc_local_unwind() </span>is used to call the finally section when "Exit" is executed in the "Try" section. It is not clear yet what the parameters "frame,target: Pointer" are meant to. I checked the code generated in Linux and is a bit different. It is base on the functions FPC_PUSHEXCEPTADDR and FPC_POPADDRSTACK, which It seems much more clear. Is it possible to generate a similar code in the case of Win64? In other words, is it possible to tell the compiler "generate the 'try-finally-end' block as in Linux"? I don't think so but It is worth to ask. <div><br></div><div>Thanks, Matias. <br><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-31 11:17 GMT+01:00 Matias Vara <span dir="ltr"><<a href="mailto:matiasevara@gmail.com" target="_blank">matiasevara@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello eveyryone, <div><br></div><div>in my rtl for torokernel, I have to implement "_fpc_local_unwind()" however I am not sure about the expected behavior of this function. It appers in the code when I use "Exit" inside a "try finally" structure. I would like to know what this function should do. So if someone can point me to some documetation would be very helpful, </div><div> </div><div>Thanks, Matias. </div><div> <br></div></div>
</blockquote></div><br></div>