Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

__cxa_exception vs __cxa_call_unexpected


  • To: cxx-abi@xxxxxxxxxxxx
  • Subject: __cxa_exception vs __cxa_call_unexpected
  • From: Richard Henderson <rth@xxxxxxxxxx>
  • Date: Tue, 8 May 2001 22:49:57 -0700

The c++ exception structure contains 

  int handlerSwitchValue;
  const unsigned char *actionRecord;
  const unsigned char *languageSpecificData;
  void *catchTemp;

for use in communicating between the personality routine and
__cxa_call_unexpected.  In order to be able to interpret the
LSDA, one needs a copy of the associated GP.  I don't see any
place that this value may be cached.  The _Unwind_Context was
local to _Unwind_RaiseException, and so was destroyed when we
transfered control to the handler.

What are other folks doing?


r~