<div dir="ltr">I'd be pretty sure the definition of a fatal error is one that can't be continued from - though I'm not familiiar with this particular LLVM hook/details.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 2:57 PM, Paul Hancock via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Now, at least in release 3.7.1, on an encounter with a fatal error at the time of compiling a module it will call an installed handler function and allow the application to log the error etc. However once said handler returns LLVM will force an exit of 0x1,
 something that I cant allow to ever occur, but according to the ErrorHandling header I cant safely throw an exception to back out of the error either?<br>
<br>
</p>
<p>So what would be the most ideal way of recovering the application from such an event?<span class="HOEnZb"><font color="#888888"><br>
<br>
- Paul<br>
</font></span></p>
</div>
</div>

<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>