Home
last modified time | relevance | path

Searched refs:unwind_exception (Results 1 – 8 of 8) sorted by relevance

/ndk/sources/cxx-stl/gabi++/src/
Dpersonality.cc57 if (version != 1 || unwind_exception == 0 || context == 0) {
68 scanEHTable(results, actions, native_exception, unwind_exception, context);
72 … __cxa_exception* exception_header = reinterpret_cast<__cxa_exception*>(unwind_exception+1)-1;
78 saveDataToBarrierCache(unwind_exception, context, results);
82 return continueUnwinding(unwind_exception, context);
92 … __cxa_exception* exception_header = reinterpret_cast<__cxa_exception*>(unwind_exception+1)-1;
98 loadDataFromBarrierCache(unwind_exception, results);
100 scanEHTable(results, actions, native_exception, unwind_exception, context);
103 call_terminate(unwind_exception);
106 setRegisters(unwind_exception, context, results);
[all …]
Dhelper_func_internal.cc50 _Unwind_Exception* unwind_exception);
52 _GABIXX_NORETURN void call_terminate(_Unwind_Exception* unwind_exception) { in call_terminate() argument
53 __cxa_begin_catch(unwind_exception); // terminate is also a handler in call_terminate()
61 _Unwind_Exception* unwind_exception, in scanEHTable() argument
153 classInfo, ttypeEncoding, unwind_exception); in scanEHTable()
162 results.adjustedPtr = unwind_exception+1; in scanEHTable()
170 call_terminate(unwind_exception); in scanEHTable()
173 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in scanEHTable()
174 void* adjustedPtr = unwind_exception+1; in scanEHTable()
179 call_terminate(unwind_exception); in scanEHTable()
[all …]
Dhelper_func_internal.h39 _GABIXX_NORETURN void call_terminate(_Unwind_Exception* unwind_exception) _GABIXX_HIDDEN;
53 _Unwind_Exception* unwind_exception)
56 void setRegisters(_Unwind_Exception* unwind_exception,
83 _Unwind_Exception* unwind_exception,
96 _Unwind_Exception* unwind_exception, \
99 uint64_t exceptionClass = unwind_exception->exception_class; \
111 if (unwind_exception->barrier_cache.sp == _Unwind_GetGR(context, UNWIND_STACK_REG)) { \
117 return continueUnwinding(unwind_exception, context); \
121 _Unwind_SetGR (context, UNWIND_POINTER_REG, reinterpret_cast<uint32_t>(unwind_exception));
131 _Unwind_Exception* unwind_exception, _Unwind_Context* context) {
Dcall_unexpected.cc188 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg); in __cxa_call_unexpected() local
189 __cxa_exception* header = reinterpret_cast<__cxa_exception*>(unwind_exception+1)-1; in __cxa_call_unexpected()
190 bool native_exception = unwind_exception->exception_class == __gxx_exception_class; in __cxa_call_unexpected()
193 __cxa_begin_catch(unwind_exception); // unexpected is also a handler in __cxa_call_unexpected()
204 uint32_t count = unwind_exception->barrier_cache.bitpattern[1]; in __cxa_call_unexpected()
205 uint32_t stride = unwind_exception->barrier_cache.bitpattern[3]; in __cxa_call_unexpected()
207 unwind_exception->barrier_cache.bitpattern[4]); in __cxa_call_unexpected()
209 __cxa_begin_catch(unwind_exception); // unexpected is also a handler in __cxa_call_unexpected()
251 _Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg); in __cxa_call_unexpected() local
252 if (unwind_exception == 0) { in __cxa_call_unexpected()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_personality.cpp304 call_terminate(bool native_exception, _Unwind_Exception* unwind_exception) in call_terminate() argument
306 __cxa_begin_catch(unwind_exception); in call_terminate()
310 __cxa_exception* exception_header = (__cxa_exception*)(unwind_exception+1) - 1; in call_terminate()
339 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
344 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
359 _Unwind_Exception* unwind_exception) in get_shim_type_info() argument
364 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
385 call_terminate(native_exception, unwind_exception); in get_shim_type_info()
406 void* adjustedPtr, _Unwind_Exception* unwind_exception) in exception_spec_can_catch() argument
411 call_terminate(false, unwind_exception); in exception_spec_can_catch()
[all …]
Dcxa_exception.cpp66 cxa_exception_from_exception_unwind_exception(_Unwind_Exception* unwind_exception) in cxa_exception_from_exception_unwind_exception() argument
68 return cxa_exception_from_thrown_object(unwind_exception + 1 ); in cxa_exception_from_exception_unwind_exception()
79 static void setExceptionClass(_Unwind_Exception* unwind_exception) { in setExceptionClass() argument
80 unwind_exception->exception_class = kOurExceptionClass; in setExceptionClass()
83 static void setDependentExceptionClass(_Unwind_Exception* unwind_exception) { in setDependentExceptionClass() argument
84 unwind_exception->exception_class = kOurDependentExceptionClass; in setDependentExceptionClass()
88 static bool isOurExceptionClass(const _Unwind_Exception* unwind_exception) { in isOurExceptionClass() argument
89 return (unwind_exception->exception_class & get_vendor_and_language) == in isOurExceptionClass()
93 static bool isDependentException(_Unwind_Exception* unwind_exception) { in isDependentException() argument
94 return (unwind_exception->exception_class & 0xFF) == 0x01; in isDependentException()
[all …]
Dcxa_default_handlers.cpp36 _Unwind_Exception* unwind_exception = in default_terminate_handler() local
39 (unwind_exception->exception_class & get_vendor_and_language) == in default_terminate_handler()
44 unwind_exception->exception_class == kOurDependentExceptionClass ? in default_terminate_handler()
Dcxa_handlers.cpp93 _Unwind_Exception* unwind_exception = in terminate() local
96 (unwind_exception->exception_class & get_vendor_and_language) == in terminate()