[llvm-dev] LLVM Fatal Error Handling

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 9 15:23:52 PST 2016


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.

On Wed, Mar 9, 2016 at 2:57 PM, Paul Hancock via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> 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?
>
> So what would be the most ideal way of recovering the application from
> such an event?
>
> - Paul
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160309/a8f765b6/attachment.html>


More information about the llvm-dev mailing list