[cfe-commits] [libcxxabi] r147547 - in /libcxxabi/trunk/src: cxa_exception.cpp cxa_personality.cpp
sebastian.redl at getdesigned.at
Tue Jan 10 08:17:32 PST 2012
On 10.01.2012 16:42, Howard Hinnant wrote:
> On Jan 10, 2012, at 2:46 AM, Sebastian Redl wrote:
>> By the way, I believe GCC allows catching foreign exceptions by installing a handler for _native_exception or something like that.
> Hmm... Any public documentation on that? I also suspect, but do not know for sure at the moment, that a foreign exception can be caught by catch (...).
Here's for forced unwinding:
GCC's cxxabi.h also has abi::__foreign_exception, which appears not to
have any public documentation. Here's the comment on top of this class:
A magic placeholder class that can be caught by reference to recognize foreign exceptions.
So it's pretty much the same as __forced_unwind.
More information about the cfe-commits