How GCC handle exceptions under Linux?

Borneq borucki.andrzej@gmail.com
Tue Dec 11 15:54:00 GMT 2012


Linux standard has no exceptions handling as is in Windows.
In assembly files generated by GCC are references to functions:
_cxa_allocate_exception, __cxa_throw, __cxa_begin_catch and __cxa_end_catch.
It not Linux bot GCC standard?
Bot are hardware exceptions like dividing by zero or reference to denied
memory. It must cooperate with system? Exceptions use Linux signals? Where I
can find detailed description of GCC exceptions algorithm ?




--
View this message in context: http://gcc.1065356.n5.nabble.com/How-GCC-handle-exceptions-under-Linux-tp896615.html
Sent from the gcc - libstdc++ mailing list archive at Nabble.com.



More information about the Libstdc++ mailing list