ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
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 __attribute__((__mode__(__unwind_word__)))
 
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 struct _Unwind_Exception _Unwind_Exception
 
typedef void(* _Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code, _Unwind_Exception *)
 
typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn) (int, _Unwind_Action, _Unwind_Exception_Class, _Unwind_Exception *, struct _Unwind_Context *, void *)
 
typedef _Unwind_Reason_Code(* _Unwind_Personality_Fn) (int, _Unwind_Action, _Unwind_Exception_Class, _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 (_Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_ForcedUnwind (_Unwind_Exception *, _Unwind_Stop_Fn, void *)
 
void _Unwind_DeleteException (_Unwind_Exception *)
 
void _Unwind_Resume (_Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_Resume_or_Rethrow (_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 (_Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind (_Unwind_Exception *, _Unwind_Stop_Fn, void *)
 
void _Unwind_SjLj_Resume (_Unwind_Exception *)
 
_Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow (_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

◆ __attribute__

typedef intptr_t _Unwind_Sword __attribute__((__mode__(__unwind_word__)))

Definition at line 55 of file unwind.h.

◆ __personality_routine

Definition at line 165 of file unwind.h.

◆ _sleb128_t

Definition at line 61 of file unwind.h.

◆ _uleb128_t

Definition at line 62 of file unwind.h.

◆ _Unwind_Exception

Definition at line 62 of file unwind.h.

◆ _Unwind_Exception_Class

Definition at line 59 of file unwind.h.

◆ _Unwind_Exception_Cleanup_Fn

typedef void(* _Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code, _Unwind_Exception *)

Definition at line 103 of file unwind.h.

◆ _Unwind_FunctionContext_t

typedef struct SjLj_Function_Context* _Unwind_FunctionContext_t

Definition at line 268 of file unwind.h.

◆ _Unwind_Internal_Ptr

Definition at line 58 of file unwind.h.

◆ _Unwind_Personality_Fn

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

Definition at line 161 of file unwind.h.

◆ _Unwind_Ptr

Definition at line 57 of file unwind.h.

◆ _Unwind_Stop_Fn

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

Definition at line 155 of file unwind.h.

◆ _Unwind_Trace_Fn

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

Definition at line 167 of file unwind.h.

Enumeration Type Documentation

◆ _Unwind_Action

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.

◆ _Unwind_Reason_Code

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 72 of file unwind.h.

Function Documentation

◆ __attribute__()

struct _Unwind_Exception __attribute__ ( (__aligned__)  )

◆ _Unwind_Backtrace()

_Unwind_Reason_Code _Unwind_Backtrace ( _Unwind_Trace_Fn  ,
void *   
)

◆ _Unwind_DeleteException()

void _Unwind_DeleteException ( _Unwind_Exception )

◆ _Unwind_FindEnclosingFunction()

void* _Unwind_FindEnclosingFunction ( void *  )

◆ _Unwind_ForcedUnwind()

_Unwind_Reason_Code _Unwind_ForcedUnwind ( _Unwind_Exception ,
_Unwind_Stop_Fn  ,
void *   
)

◆ _Unwind_GetBSP()

_Unwind_Word _Unwind_GetBSP ( struct _Unwind_Context *  )

◆ _Unwind_GetCFA()

_Unwind_Word _Unwind_GetCFA ( struct _Unwind_Context *  )

◆ _Unwind_GetDataRelBase()

_Unwind_Ptr _Unwind_GetDataRelBase ( struct _Unwind_Context *  )

◆ _Unwind_GetGR()

_Unwind_Word _Unwind_GetGR ( struct _Unwind_Context *  ,
int   
)

◆ _Unwind_GetIP()

_Unwind_Word _Unwind_GetIP ( struct _Unwind_Context *  )

◆ _Unwind_GetIPInfo()

_Unwind_Word _Unwind_GetIPInfo ( struct _Unwind_Context *  ,
int  
)

◆ _Unwind_GetLanguageSpecificData()

void* _Unwind_GetLanguageSpecificData ( struct _Unwind_Context *  )

◆ _Unwind_GetRegionStart()

_Unwind_Ptr _Unwind_GetRegionStart ( struct _Unwind_Context *  )

◆ _Unwind_GetTextRelBase()

_Unwind_Ptr _Unwind_GetTextRelBase ( struct _Unwind_Context *  )

◆ _Unwind_RaiseException()

_Unwind_Reason_Code _Unwind_RaiseException ( _Unwind_Exception )

◆ _Unwind_Resume()

void _Unwind_Resume ( _Unwind_Exception )

◆ _Unwind_Resume_or_Rethrow()

_Unwind_Reason_Code _Unwind_Resume_or_Rethrow ( _Unwind_Exception )

◆ _Unwind_SetGR()

void _Unwind_SetGR ( struct _Unwind_Context *  ,
int  ,
_Unwind_Word   
)

◆ _Unwind_SetIP()

void _Unwind_SetIP ( struct _Unwind_Context *  ,
_Unwind_Word   
)

◆ _Unwind_SjLj_ForcedUnwind()

_Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind ( _Unwind_Exception ,
_Unwind_Stop_Fn  ,
void *   
)

◆ _Unwind_SjLj_RaiseException()

_Unwind_Reason_Code _Unwind_SjLj_RaiseException ( _Unwind_Exception )

◆ _Unwind_SjLj_Register()

void _Unwind_SjLj_Register ( _Unwind_FunctionContext_t  )

◆ _Unwind_SjLj_Resume()

void _Unwind_SjLj_Resume ( _Unwind_Exception )

◆ _Unwind_SjLj_Resume_or_Rethrow()

_Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow ( _Unwind_Exception )

◆ _Unwind_SjLj_Unregister()

void _Unwind_SjLj_Unregister ( _Unwind_FunctionContext_t  )

Variable Documentation

◆ exception_class

_Unwind_Exception_Class exception_class

Definition at line 0 of file unwind.h.

◆ exception_cleanup

_Unwind_Exception_Cleanup_Fn exception_cleanup

Definition at line 1 of file unwind.h.

◆ private_1

_Unwind_Word private_1

Definition at line 5 of file unwind.h.

◆ private_2

_Unwind_Word private_2

Definition at line 6 of file unwind.h.