[llvm-commits] [llvm] r129302 - /llvm/trunk/lib/CodeGen/SjLjEHPrepare.cpp

Bill Wendling wendling at apple.com
Tue Apr 12 00:58:15 PDT 2011


On Apr 12, 2011, at 12:54 AM, Duncan Sands wrote:

> Hi Bill,
> 
>>> [*] For example a cleanup that shuts down the reactor.
>> 
>> Which is why Ada is used in such situations. :-) Though I would hate to have these systems using exceptions...
> 
> if you knew that the software on the plane you are flying in was compiled using
> LLVM, would you reach for a parachute?  :)

No comment. ;-)

> PS: As far as I know safety critical systems typically make no use of exceptions
> (or anything else that makes static analysis hard).

Yeah. I got a small peek into this when I worked at The MathWorks. The software that Matlab and Simulink generated had to be as "optimized" as possible, because they typically didn't use optimizations when generating their code. And the qualification process for getting software into these systems was intense.

-bw




More information about the llvm-commits mailing list