Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
unwind.h File Reference
Include dependency graph for unwind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  unw_sigaltstack
struct  sigcontext
struct  _Unwind_Context
struct  _Unwind_Exception

Defines

#define VERSION_NUMBER   1
#define __UNW_STRUCT_FPREG   long double
#define _UA_SEARCH_PHASE   1
#define _UA_CLEANUP_PHASE   2
#define _UA_HANDLER_FRAME   4
#define _UA_FORCE_UNWIND   8

Typedefs

typedef struct unw_sigaltstack unw_stack_t
typedef struct _Unwind_Context unw_sigcontext_t
typedef int _Unwind_Action
typedef void(* _Unwind_Exception_Cleanup_Fn )(_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
typedef _Unwind_Reason_Code(* __personality_routine )(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context)
typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn )(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context, void *stop_parameter)

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
}

Functions

_Unwind_Reason_Code _Unwind_RaiseException (struct _Unwind_Exception *exception_object)
_Unwind_Reason_Code _Unwind_ForceUnwind (struct _Unwind_Exception *exception_object, _Unwind_Stop_Fn stop, void *stop_parameter)
void _Unwind_Resume (struct _Unwind_Exception *exception_object)
void _Unwind_DeleteException (struct _Unwind_Exception *exception_object)
uint64_t _Unwind_GetGR (struct _Unwind_Context *context, int index)
void _Unwind_SetGR (struct _Unwind_Context *context, int index, uint64_t new_value)
uint64_t _Unwind_GetIP (struct _Unwind_Context *context)
void _Unwind_SetIP (struct _Unwind_Context *context, uint64_t new_value)
uint64_t _Unwind_GetLanguageSpecificData (struct _Unwind_Context *context)
uint64_t _Unwind_GetRegionStart (struct _Unwind_Context *context)
int __cxa_personality_routine (int version, int phase, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context)
__unw_error_t unwind_init (void)
__unw_error_t unwind_fini (void)
__unw_error_t unwind_frame (unw_sigcontext_t *scp)
void unwind_debugger_init (int(*dbg_unwind_table_addr_arg)(uint64_t, uint64_t *, uint64_t *), int(*dbg_unwind_info_addr_arg)(uint64_t, uint64_t *, uint64_t *), int(*dbg_unwind_info_target_addr_arg)(uint64_t, uint64_t *), int(*dbg_text_segment_target_addr_arg)(uint64_t, uint64_t *), int(*dbg_restore_gp_arg)(uint64_t, uint64_t *), int(*dbg_addr_read_arg)(uint64_t, uint64_t, void *))
int trace_back_stack (int num, uint64_t *ips, const char **names, int ips_sz, int names_sz)

Define Documentation

#define __UNW_STRUCT_FPREG   long double

Definition at line 61 of file unwind.h.

#define _UA_CLEANUP_PHASE   2

Definition at line 197 of file unwind.h.

#define _UA_FORCE_UNWIND   8

Definition at line 199 of file unwind.h.

#define _UA_HANDLER_FRAME   4

Definition at line 198 of file unwind.h.

#define _UA_SEARCH_PHASE   1

Definition at line 196 of file unwind.h.

#define VERSION_NUMBER   1

Definition at line 48 of file unwind.h.


Typedef Documentation

typedef _Unwind_Reason_Code(* __personality_routine)(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context)

Definition at line 221 of file unwind.h.

typedef int _Unwind_Action

Definition at line 194 of file unwind.h.

Definition at line 210 of file unwind.h.

typedef _Unwind_Reason_Code(* _Unwind_Stop_Fn)(int version, _Unwind_Action actions, uint64_t exceptionClass, struct _Unwind_Exception *exceptionObject, struct _Unwind_Context *context, void *stop_parameter)

Definition at line 228 of file unwind.h.

Definition at line 115 of file unwind.h.

typedef struct unw_sigaltstack unw_stack_t

Enumeration Type Documentation

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 

Definition at line 122 of file unwind.h.


Function Documentation

int __cxa_personality_routine ( int  version,
int  phase,
uint64_t  exceptionClass,
struct _Unwind_Exception exceptionObject,
struct _Unwind_Context context 
)
void _Unwind_DeleteException ( struct _Unwind_Exception exception_object)
_Unwind_Reason_Code _Unwind_ForceUnwind ( struct _Unwind_Exception exception_object,
_Unwind_Stop_Fn  stop,
void *  stop_parameter 
)
uint64_t _Unwind_GetGR ( struct _Unwind_Context context,
int  index 
)
uint64_t _Unwind_GetIP ( struct _Unwind_Context context)
uint64_t _Unwind_GetLanguageSpecificData ( struct _Unwind_Context context)
uint64_t _Unwind_GetRegionStart ( struct _Unwind_Context context)
void _Unwind_Resume ( struct _Unwind_Exception exception_object)
void _Unwind_SetGR ( struct _Unwind_Context context,
int  index,
uint64_t  new_value 
)
void _Unwind_SetIP ( struct _Unwind_Context context,
uint64_t  new_value 
)
int trace_back_stack ( int  num,
uint64_t *  ips,
const char **  names,
int  ips_sz,
int  names_sz 
)
void unwind_debugger_init ( int(*)(uint64_t, uint64_t *, uint64_t *)  dbg_unwind_table_addr_arg,
int(*)(uint64_t, uint64_t *, uint64_t *)  dbg_unwind_info_addr_arg,
int(*)(uint64_t, uint64_t *)  dbg_unwind_info_target_addr_arg,
int(*)(uint64_t, uint64_t *)  dbg_text_segment_target_addr_arg,
int(*)(uint64_t, uint64_t *)  dbg_restore_gp_arg,
int(*)(uint64_t, uint64_t, void *)  dbg_addr_read_arg 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines