Lines Matching refs:unwind_exception
65 cxa_exception_from_exception_unwind_exception(_Unwind_Exception* unwind_exception) in cxa_exception_from_exception_unwind_exception() argument
67 return cxa_exception_from_thrown_object(unwind_exception + 1 ); in cxa_exception_from_exception_unwind_exception()
82 void __setExceptionClass(_Unwind_Exception* unwind_exception, uint64_t newValue) { in __setExceptionClass() argument
83 ::memcpy(&unwind_exception->exception_class, &newValue, sizeof(newValue)); in __setExceptionClass()
87 static void setOurExceptionClass(_Unwind_Exception* unwind_exception) { in setOurExceptionClass() argument
88 __setExceptionClass(unwind_exception, kOurExceptionClass); in setOurExceptionClass()
91 static void setDependentExceptionClass(_Unwind_Exception* unwind_exception) { in setDependentExceptionClass() argument
92 __setExceptionClass(unwind_exception, kOurDependentExceptionClass); in setDependentExceptionClass()
96 uint64_t __getExceptionClass(const _Unwind_Exception* unwind_exception) { in __getExceptionClass() argument
102 ::memcpy(&exClass, &unwind_exception->exception_class, sizeof(exClass)); in __getExceptionClass()
106 bool __isOurExceptionClass(const _Unwind_Exception* unwind_exception) { in __isOurExceptionClass() argument
107 return (__getExceptionClass(unwind_exception) & get_vendor_and_language) == in __isOurExceptionClass()
111 static bool isDependentException(_Unwind_Exception* unwind_exception) { in isDependentException() argument
112 return (__getExceptionClass(unwind_exception) & 0xFF) == 0x01; in isDependentException()
134 exception_cleanup_func(_Unwind_Reason_Code reason, _Unwind_Exception* unwind_exception) in exception_cleanup_func() argument
136 …_cxa_exception* exception_header = cxa_exception_from_exception_unwind_exception(unwind_exception); in exception_cleanup_func()
141 __cxa_decrement_exception_refcount(unwind_exception + 1); in exception_cleanup_func()
297 void *__cxa_get_exception_ptr(void *unwind_exception) throw() { in __cxa_get_exception_ptr() argument
300 static_cast<_Unwind_Control_Block*>(unwind_exception)->barrier_cache.bitpattern[0]); in __cxa_get_exception_ptr()
303 static_cast<_Unwind_Exception*>(unwind_exception))->adjustedPtr; in __cxa_get_exception_ptr()
313 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(unwind_arg); in __cxa_begin_cleanup() local
316 cxa_exception_from_exception_unwind_exception(unwind_exception); in __cxa_begin_cleanup()
318 if (__isOurExceptionClass(unwind_exception)) in __cxa_begin_cleanup()
425 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(unwind_arg); in __cxa_begin_catch() local
426 bool native_exception = __isOurExceptionClass(unwind_exception); in __cxa_begin_catch()
434 static_cast<_Unwind_Exception*>(unwind_exception) in __cxa_begin_catch()
461 return unwind_exception + 1; in __cxa_begin_catch()
699 dependent_exception_cleanup(_Unwind_Reason_Code reason, _Unwind_Exception* unwind_exception) in dependent_exception_cleanup() argument
702 reinterpret_cast<__cxa_dependent_exception*>(unwind_exception + 1) - 1; in dependent_exception_cleanup()