Closed elfring closed 8 years ago
It does not contain any because fcd does not throw any. LLVM needs to be built with -fno-exceptions
, so even if I wanted to throw exceptions myself, it would be unsafe to do so. As a consequence, fcd also compiles with -fno-exceptions
.
One of the best things about the llvm codebase. No exceptions and no RTTI.
I expect that exception handling is usually supported by a C++ program. I wonder why your function "main" does not contain corresponding try and catch instructions so far.
How do you think about recommendations by Matthew Wilson in an article?
Would you like to adjust the implementation if you consider effects for uncaught/unhandled exceptions like they are described by Danny Kalev?