core.internal.backtrace.unwind
Binding for libunwind/libgc's unwind.h
Those bindings expose the _Unwind_* symbols used by druntime to do exception handling.
See Also
Itanium C++ ABI: Exception Handling ($Revision: 1.22 $)
alias _sleb128_t _uleb128_t _Unwind_Action _Unwind_Exception_Class _Unwind_Exception_Cleanup_Fn _Unwind_Internal_Ptr _Unwind_Personality_Fn _Unwind_Ptr _Unwind_Reason_Code _Unwind_Stop_Fn _Unwind_Sword _Unwind_Trace_Fn _Unwind_Word
fn _Unwind_Backtrace _Unwind_DeleteException _Unwind_FindEnclosingFunction _Unwind_ForcedUnwind _Unwind_GetBSP _Unwind_GetCFA _Unwind_GetGR _Unwind_GetIP _Unwind_GetIPInfo _Unwind_GetLanguageSpecificData _Unwind_GetRegionStart _Unwind_RaiseException _Unwind_Resume _Unwind_Resume_or_Rethrow _Unwind_SetGR _Unwind_SetIP _Unwind_SjLj_ForcedUnwind _Unwind_SjLj_RaiseException _Unwind_SjLj_Register _Unwind_SjLj_Resume _Unwind_SjLj_Resume_or_Rethrow _Unwind_SjLj_Unregister
Types 15
alias_Unwind_Word = uintptr_t
alias_Unwind_Sword = intptr_t
alias_Unwind_Ptr = uintptr_t
alias_Unwind_Internal_Ptr = uintptr_t
alias_Unwind_Exception_Class = ulong
alias_uleb128_t = uintptr_t
alias_sleb128_t = intptr_t
alias_Unwind_Reason_Code = int
alias_Unwind_Action = int
alias_Unwind_Exception_Cleanup_Fn = void function(
_Unwind_Reason_Code reason,
_Unwind_Exception * exc)
struct_Unwind_Context
alias_Unwind_Stop_Fn = _Unwind_Reason_Code function(
int _version,
_Unwind_Action actions,
_Unwind_Exception_Class exceptionClass,
_Unwind_Exception * exceptionObject,
_Unwind_Context * context,
void * stop_parameter)
alias_Unwind_Trace_Fn = _Unwind_Reason_Code function(_Unwind_Context *, void *)
alias_Unwind_Personality_Fn = _Unwind_Reason_Code function(
int _version,
_Unwind_Action actions,
_Unwind_Exception_Class exceptionClass,
_Unwind_Exception * exceptionObject,
_Unwind_Context * context)
structSjLj_Function_Context
Functions 22
fn
_Unwind_Reason_Code _Unwind_RaiseException(_Unwind_Exception * exception_object)fn
_Unwind_Reason_Code _Unwind_ForcedUnwind(
_Unwind_Exception * exception_object,
_Unwind_Stop_Fn stop,
void * stop_parameter)fn
void _Unwind_DeleteException(_Unwind_Exception * exception_object)fn
void _Unwind_Resume(_Unwind_Exception * exception_object)fn
_Unwind_Reason_Code _Unwind_Resume_or_Rethrow(_Unwind_Exception * exception_object)fn
void _Unwind_SjLj_Register(SjLj_Function_Context *)fn
void _Unwind_SjLj_Unregister(SjLj_Function_Context *)fn
_Unwind_Reason_Code _Unwind_SjLj_RaiseException(_Unwind_Exception *)fn
_Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind(_Unwind_Exception , _Unwind_Stop_Fn, void *)fn
void _Unwind_SjLj_Resume(_Unwind_Exception *)fn
_Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow(_Unwind_Exception *)Variables 5
enumvar
_UA_SEARCH_PHASE = 1enumvar
_UA_CLEANUP_PHASE = 2enumvar
_UA_HANDLER_FRAME = 4enumvar
_UA_FORCE_UNWIND = 8enumvar
_UA_END_OF_STACK = 16