This is the mail archive of the
mailing list for the libstdc++ project.
How GCC handle exceptions under Linux?
- From: Borneq <borucki dot andrzej at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 11 Dec 2012 07:54:07 -0800 (PST)
- Subject: How GCC handle exceptions under Linux?
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.