clang API Documentation

Classes | Typedefs | Enumerations | Functions | Variables
unwind.h File Reference
#include <stdint.h>
Include dependency graph for unwind.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 *)
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

Definition at line 125 of file unwind.h.

typedef intptr_t _sleb128_t

Definition at line 75 of file unwind.h.

typedef uintptr_t _uleb128_t

Definition at line 76 of file unwind.h.

typedef uint64_t _Unwind_Exception_Class

Definition at line 73 of file unwind.h.

Definition at line 103 of file unwind.h.

typedef struct SjLj_Function_Context* _Unwind_FunctionContext_t

Definition at line 221 of file unwind.h.

typedef uintptr_t _Unwind_Internal_Ptr

Definition at line 72 of file unwind.h.

Definition at line 122 of file unwind.h.

typedef uintptr_t _Unwind_Ptr

Definition at line 71 of file unwind.h.

typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn)(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *, void *)

Definition at line 116 of file unwind.h.

typedef intptr_t _Unwind_Sword

Definition at line 70 of file unwind.h.

typedef _Unwind_Reason_Code(* _Unwind_Trace_Fn)(struct _Unwind_Context *, void *)

Definition at line 127 of file unwind.h.

typedef uintptr_t _Unwind_Word

Definition at line 69 of file unwind.h.


Enumeration Type Documentation

Enumerator:
_UA_SEARCH_PHASE 
_UA_CLEANUP_PHASE 
_UA_HANDLER_FRAME 
_UA_FORCE_UNWIND 
_UA_END_OF_STACK 

Definition at line 94 of file unwind.h.

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 

Definition at line 80 of file unwind.h.


Function Documentation

struct _Unwind_Exception __attribute__ ( (__aligned__)  )
void* _Unwind_FindEnclosingFunction ( void *  )
_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 *  )
void _Unwind_Resume ( struct _Unwind_Exception )
void _Unwind_SetGR ( struct _Unwind_Context *  ,
int  ,
_Unwind_Word   
)
void _Unwind_SetIP ( struct _Unwind_Context *  ,
_Unwind_Word   
)

Variable Documentation

Definition at line 115 of file unwind.h.

Definition at line 116 of file unwind.h.

Definition at line 117 of file unwind.h.

Definition at line 118 of file unwind.h.