[LLVMdev] 2.4 Pre-release (v1) Available for Testing

Duncan Sands baldrick at free.fr
Sun Oct 12 00:16:14 PDT 2008


Hi,

> Which makes me curious, if I submitted a patch that got rid of llvms
> use of abort()s all over the place, and replaces them with exceptions
> (the program dies either way if it is unhandled, but with exceptions
> you at least get a chance to handle it and recover),

since LLVM may well be left in an inconsistent state internally if
an exception is thrown, it wouldn't be safe to continue using it
after catching an exception.

Ciao,

Duncan.



More information about the llvm-dev mailing list