sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Typedefs | Enumerations | Functions | Variables
unwind.h File Reference
#include <stdint.h>

Go to the source code of this file.

Classes

struct  _Unwind_Exception
 

Typedefs

typedef uintptr_t _Unwind_Word
 
typedef intptr_t _Unwind_Sword
 
typedef uintptr_t _Unwind_Ptr
 
typedef uintptr_t _Unwind_Internal_Ptr
 
typedef uint64_t _Unwind_Exception_Class
 
typedef intptr_t _sleb128_t
 
typedef uintptr_t _uleb128_t
 
typedef void(* _Unwind_Exception_Cleanup_Fn )(_Unwind_Reason_Code, struct _Unwind_Exception *)
 
typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn )(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *, void *)
 
typedef _Unwind_Reason_Code(* _Unwind_Personality_Fn )(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *)
 
typedef _Unwind_Personality_Fn __personality_routine
 
typedef _Unwind_Reason_Code(* _Unwind_Trace_Fn )(struct _Unwind_Context *, void *)
 
typedef struct
SjLj_Function_Context * 
_Unwind_FunctionContext_t
 

Enumerations

enum  _Unwind_Reason_Code {
  _URC_NO_REASON = 0, _URC_FOREIGN_EXCEPTION_CAUGHT = 1, _URC_FATAL_PHASE2_ERROR = 2, _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4, _URC_END_OF_STACK = 5, _URC_HANDLER_FOUND = 6, _URC_INSTALL_CONTEXT = 7,
  _URC_CONTINUE_UNWIND = 8
}
 
enum  _Unwind_Action {
  _UA_SEARCH_PHASE = 1, _UA_CLEANUP_PHASE = 2, _UA_HANDLER_FRAME = 4, _UA_FORCE_UNWIND = 8,
  _UA_END_OF_STACK = 16
}
 

Functions

struct _Unwind_Exception __attribute__ ((__aligned__))
 
_Unwind_Word _Unwind_GetGR (struct _Unwind_Context *, int)
 
void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word)
 
_Unwind_Word _Unwind_GetIP (struct _Unwind_Context *)
 
void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Word)
 
_Unwind_Word _Unwind_GetIPInfo (struct _Unwind_Context *, int *)
 
_Unwind_Word _Unwind_GetCFA (struct _Unwind_Context *)
 
_Unwind_Word _Unwind_GetBSP (struct _Unwind_Context *)
 
void * _Unwind_GetLanguageSpecificData (struct _Unwind_Context *)
 
_Unwind_Ptr _Unwind_GetRegionStart (struct _Unwind_Context *)
 
_Unwind_Reason_Code _Unwind_RaiseException (struct _Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_ForcedUnwind (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *)
 
void _Unwind_DeleteException (struct _Unwind_Exception *)
 
void _Unwind_Resume (struct _Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_Resume_or_Rethrow (struct _Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_Backtrace (_Unwind_Trace_Fn, void *)
 
void _Unwind_SjLj_Register (_Unwind_FunctionContext_t)
 
void _Unwind_SjLj_Unregister (_Unwind_FunctionContext_t)
 
_Unwind_Reason_Code _Unwind_SjLj_RaiseException (struct _Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *)
 
void _Unwind_SjLj_Resume (struct _Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow (struct _Unwind_Exception *)
 
void * _Unwind_FindEnclosingFunction (void *)
 
_Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *)
 
_Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *)
 

Variables

_Unwind_Exception_Class exception_class
 
_Unwind_Exception_Cleanup_Fn exception_cleanup
 
_Unwind_Word private_1
 
_Unwind_Word private_2
 

Typedef Documentation

typedef intptr_t _sleb128_t
typedef uintptr_t _uleb128_t
typedef uint64_t _Unwind_Exception_Class
typedef void(* _Unwind_Exception_Cleanup_Fn)(_Unwind_Reason_Code, struct _Unwind_Exception *)
typedef struct SjLj_Function_Context* _Unwind_FunctionContext_t
typedef uintptr_t _Unwind_Internal_Ptr
typedef _Unwind_Reason_Code(* _Unwind_Personality_Fn)(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *)
typedef uintptr_t _Unwind_Ptr
typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn)(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *, void *)
typedef intptr_t _Unwind_Sword
typedef _Unwind_Reason_Code(* _Unwind_Trace_Fn)(struct _Unwind_Context *, void *)
typedef uintptr_t _Unwind_Word

Enumeration Type Documentation

Enumerator
_UA_SEARCH_PHASE 
_UA_CLEANUP_PHASE 
_UA_HANDLER_FRAME 
_UA_FORCE_UNWIND 
_UA_END_OF_STACK 
Enumerator
_URC_NO_REASON 
_URC_FOREIGN_EXCEPTION_CAUGHT 
_URC_FATAL_PHASE2_ERROR 
_URC_FATAL_PHASE1_ERROR 
_URC_NORMAL_STOP 
_URC_END_OF_STACK 
_URC_HANDLER_FOUND 
_URC_INSTALL_CONTEXT 
_URC_CONTINUE_UNWIND 

Function Documentation

struct _Unwind_Exception __attribute__ ( (__aligned__)  )
_Unwind_Reason_Code _Unwind_Backtrace ( _Unwind_Trace_Fn  ,
void *   
)
void _Unwind_DeleteException ( struct _Unwind_Exception )
void* _Unwind_FindEnclosingFunction ( void *  )
_Unwind_Reason_Code _Unwind_ForcedUnwind ( struct _Unwind_Exception ,
_Unwind_Stop_Fn  ,
void *   
)
_Unwind_Word _Unwind_GetBSP ( struct _Unwind_Context *  )
_Unwind_Word _Unwind_GetCFA ( struct _Unwind_Context *  )
_Unwind_Ptr _Unwind_GetDataRelBase ( struct _Unwind_Context *  )
_Unwind_Word _Unwind_GetGR ( struct _Unwind_Context *  ,
int   
)
_Unwind_Word _Unwind_GetIP ( struct _Unwind_Context *  )
_Unwind_Word _Unwind_GetIPInfo ( struct _Unwind_Context *  ,
int *   
)
void* _Unwind_GetLanguageSpecificData ( struct _Unwind_Context *  )
_Unwind_Ptr _Unwind_GetRegionStart ( struct _Unwind_Context *  )
_Unwind_Ptr _Unwind_GetTextRelBase ( struct _Unwind_Context *  )
_Unwind_Reason_Code _Unwind_RaiseException ( struct _Unwind_Exception )
void _Unwind_Resume ( struct _Unwind_Exception )
_Unwind_Reason_Code _Unwind_Resume_or_Rethrow ( struct _Unwind_Exception )
void _Unwind_SetGR ( struct _Unwind_Context *  ,
int  ,
_Unwind_Word   
)
void _Unwind_SetIP ( struct _Unwind_Context *  ,
_Unwind_Word   
)
_Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind ( struct _Unwind_Exception ,
_Unwind_Stop_Fn  ,
void *   
)
_Unwind_Reason_Code _Unwind_SjLj_RaiseException ( struct _Unwind_Exception )
void _Unwind_SjLj_Register ( _Unwind_FunctionContext_t  )
void _Unwind_SjLj_Resume ( struct _Unwind_Exception )
_Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow ( struct _Unwind_Exception )
void _Unwind_SjLj_Unregister ( _Unwind_FunctionContext_t  )

Variable Documentation

_Unwind_Exception_Class exception_class
_Unwind_Exception_Cleanup_Fn exception_cleanup
_Unwind_Word private_1
_Unwind_Word private_2