LanguageKitExceptions documentation

Authors

Generated by builder

Contents -

  1. LanguageKitExceptions constants
  2. LanguageKitExceptions variables
  3. LanguageKitExceptions functions

LanguageKitExceptions constants

LKEXCEPTION_TYPE

const uint64_t LKEXCEPTION_TYPE;
Description forthcoming.

LanguageKitExceptions variables

__LanguageKitNonLocalReturn

char __LanguageKitNonLocalReturn;
Description forthcoming.

LanguageKitExceptions functions

LKCleanupException

void LKCleanupException(_Unwind_Reason_Code reason, void* exc);
Description forthcoming.

__LanguageKitEHPersonalityRoutine

_Unwind_Reason_Code __LanguageKitEHPersonalityRoutine(int version, _Unwind_Action actions, uint64 exceptionClass, struct _Unwind_Exception* exceptionObject, struct _Unwind_Context* context);
Description forthcoming.

__LanguageKitInvalidTypeEncoding

void __LanguageKitInvalidTypeEncoding(id self, SEL cmd);
Description forthcoming.

__LanguageKitTestNonLocalReturn

void __LanguageKitTestNonLocalReturn(void* context, struct _Unwind_Exception* exception, void** retval);

Called from a non-local return handler. Tests whether the non-local return was meant to be caught by this frame. If it was not, then it rethrows the exception. If the caller is the correct handler, then this function destroys the exception object and returns..


__LanguageKitThrowNonLocalReturn

void __LanguageKitThrowNonLocalReturn(Block* context, void* retval);

Create an exception object that will be unwound to the frame containing context, return retval.


check_action_record

BOOL check_action_record(struct _Unwind_Context* context, struct dwarf_eh_lsda* lsda, dw_eh_ptr_t action_record, unsigned long int* selector);

Returns YES if this is an LK catch handler, NO if it is a cleanup.


expect

void expect(unsigned char** data, unsigned char value);

Try to read the expected value and fail loudly if you can't.