31 #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
37 #pragma GCC visibility push(default)
48 typedef unsigned _Unwind_Word
__attribute__((__mode__(__unwind_word__)));
49 typedef signed _Unwind_Sword
__attribute__((__mode__(__unwind_word__)));
50 #if defined(__ia64__) && defined(__hpux__)
51 typedef unsigned _Unwind_Ptr
__attribute__((__mode__(__word__)));
53 typedef unsigned _Unwind_Ptr
__attribute__((__mode__(__pointer__)));
55 typedef unsigned _Unwind_Internal_Ptr
__attribute__((__mode__(__pointer__)));
61 typedef unsigned _Unwind_Exception_Class
__attribute__((__mode__(__DI__)));
95 #if !defined (__USING_SJLJ_EXCEPTIONS__) && defined (__SEH__)
96 _Unwind_Word private_[6];
112 #define _UA_SEARCH_PHASE 1
113 #define _UA_CLEANUP_PHASE 2
114 #define _UA_HANDLER_FRAME 4
115 #define _UA_FORCE_UNWIND 8
116 #define _UA_END_OF_STACK 16
120 #ifndef LIBGCC2_UNWIND_ATTRIBUTE
121 #define LIBGCC2_UNWIND_ATTRIBUTE
128 struct _Unwind_Context;
160 (
struct _Unwind_Context *,
void *);
170 extern _Unwind_Word
_Unwind_GetGR (
struct _Unwind_Context *,
int);
171 extern void _Unwind_SetGR (
struct _Unwind_Context *,
int, _Unwind_Word);
175 extern void _Unwind_SetIP (
struct _Unwind_Context *, _Unwind_Ptr);
206 struct SjLj_Function_Context;
226 static inline _Unwind_Ptr
233 static inline _Unwind_Ptr
241 extern _Unwind_Word _Unwind_GetBSP (
struct _Unwind_Context *);
251 #ifndef __SIZEOF_LONG__
252 #error "__SIZEOF_LONG__ macro not defined"
255 #ifndef __SIZEOF_POINTER__
256 #error "__SIZEOF_POINTER__ macro not defined"
268 #if __SIZEOF_LONG__ >= __SIZEOF_POINTER__
271 #elif __SIZEOF_LONG_LONG__ >= __SIZEOF_POINTER__
275 # error "What type shall we use for _sleb128_t?"
278 #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
280 EXCEPTION_DISPOSITION _GCC_specific_handler (PEXCEPTION_RECORD,
void *,
281 PCONTEXT, PDISPATCHER_CONTEXT,
290 #pragma GCC visibility pop
void LIBGCC2_UNWIND_ATTRIBUTE _Unwind_Resume(struct _Unwind_Exception *)
void _Unwind_SjLj_Register(struct SjLj_Function_Context *)
_Unwind_Exception_Class exception_class
Definition: unwind.h:92
_Unwind_Ptr _Unwind_GetIP(struct _Unwind_Context *)
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_RaiseException(struct _Unwind_Exception *)
void _Unwind_SetIP(struct _Unwind_Context *, _Unwind_Ptr)
_Unwind_Exception_Cleanup_Fn exception_cleanup
Definition: unwind.h:93
void _Unwind_SetGR(struct _Unwind_Context *, int, _Unwind_Word)
unsigned _Unwind_Word __attribute__((__mode__(__unwind_word__)))
Definition: unwind.h:48
_Unwind_Ptr _Unwind_GetTextRelBase(struct _Unwind_Context *)
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_SjLj_RaiseException(struct _Unwind_Exception *)
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_ForcedUnwind(struct _Unwind_Exception *, _Unwind_Stop_Fn, void *)
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_SjLj_Resume_or_Rethrow(struct _Unwind_Exception *)
_Unwind_Word _Unwind_GetGR(struct _Unwind_Context *, int)
_Unwind_Reason_Code(* _Unwind_Personality_Fn)(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *)
Definition: unwind.h:200
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_Resume_or_Rethrow(struct _Unwind_Exception *)
_Unwind_Ptr _Unwind_GetDataRelBase(struct _Unwind_Context *)
long _sleb128_t
Definition: unwind.h:269
void _Unwind_SjLj_Unregister(struct SjLj_Function_Context *)
_Unwind_Reason_Code(* _Unwind_Trace_Fn)(struct _Unwind_Context *, void *)
Definition: unwind.h:160
void LIBGCC2_UNWIND_ATTRIBUTE _Unwind_SjLj_Resume(struct _Unwind_Exception *)
_Unwind_Word private_2
Definition: unwind.h:99
void _Unwind_DeleteException(struct _Unwind_Exception *)
void * _Unwind_FindEnclosingFunction(void *pc)
_Unwind_Ptr _Unwind_GetRegionStart(struct _Unwind_Context *)
_Unwind_Ptr _Unwind_GetIPInfo(struct _Unwind_Context *, int *)
int _Unwind_Action
Definition: unwind.h:110
_Unwind_Reason_Code(* _Unwind_Stop_Fn)(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *, void *)
Definition: unwind.h:137
void(* _Unwind_Exception_Cleanup_Fn)(_Unwind_Reason_Code, struct _Unwind_Exception *)
Definition: unwind.h:87
_Unwind_Reason_Code
Definition: unwind.h:65
unsigned long _uleb128_t
Definition: unwind.h:270
void * _Unwind_GetLanguageSpecificData(struct _Unwind_Context *)
#define LIBGCC2_UNWIND_ATTRIBUTE
Definition: unwind.h:121
_Unwind_Word private_1
Definition: unwind.h:98
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_SjLj_ForcedUnwind(struct _Unwind_Exception *, _Unwind_Stop_Fn, void *)
_Unwind_Word _Unwind_GetCFA(struct _Unwind_Context *)
_Unwind_Reason_Code LIBGCC2_UNWIND_ATTRIBUTE _Unwind_Backtrace(_Unwind_Trace_Fn, void *)