search for: sigabt

Displaying 2 results from an estimated 2 matches for "sigabt".

Did you mean: sigabrt
2009 Aug 20
0
[LLVMdev] LLVM asserts
As LLVM is really a library it should behave like one and not just abort the whole process on an assert. Ideally we should be able to implement so set of options where an assert can cause one of a number of error mechanisms to be used from SIGABT to throwing and execption object containing line number file and the error message. This would require replacing asserts with say an llvm_assert( bool, char*) style preprocessor call that can generate the desired response, throw an error to be catched by a handler or doing a C++ throw, depending on...
2009 Aug 19
2
[LLVMdev] LLVM asserts
Chris Lattner <clattner at apple.com> writes: >>>> It's not about recovery, it's about message reporting. Right now >>>> the LLVM >>>> abort messages are formatted completely differently than aborts from >>>> other >>>> parts of our compiler. That's not friendly to users. >>> >>> This is what