CxaExceptionHeader

Structure of a C++ exception, represented as a C structure. See unwind-cxx.h for the full definition.

Members

Static functions

getAdjustedPtr
void* getAdjustedPtr(_Unwind_Exception* exc, CxxTypeInfo catchType)

Get pointer to the thrown object if the thrown object type behind the exception is implicitly convertible to the catch type.

save
void save(_Unwind_Exception* unwindHeader, void* thrownPtr)

There's no saving between phases, so only cache pointer. __cxa_begin_catch expects this to be set.

toExceptionHeader
CxaExceptionHeader* toExceptionHeader(_Unwind_Exception* exc)

Convert from pointer to unwindHeader to pointer to CxaExceptionHeader that it is embedded inside of.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

actionRecord
const(ubyte)* actionRecord;
Undocumented in source.
adjustedPtr
void* adjustedPtr;
Undocumented in source.
catchTemp
_Unwind_Ptr catchTemp;
Undocumented in source.
exceptionDestructor
void function(void*) exceptionDestructor;
Undocumented in source.
handlerCount
int handlerCount;
Undocumented in source.
handlerSwitchValue
int handlerSwitchValue;
Undocumented in source.
languageSpecificData
const(ubyte)* languageSpecificData;
Undocumented in source.
nextException
CxaExceptionHeader* nextException;
Undocumented in source.
nextPropagatingException
CxaExceptionHeader* nextPropagatingException;
Undocumented in source.
propagationCount
int propagationCount;
Undocumented in source.
terminateHandler
void function() terminateHandler;
Undocumented in source.
unexpectedHandler
void function() unexpectedHandler;
Undocumented in source.
unwindHeader
_Unwind_Exception unwindHeader;
Undocumented in source.

Meta