Home | History | Annotate | Download | only in src

Lines Matching refs:__cxa_exception

24 // | __cxa_exception           | _Unwind_Exception CLNGC++\0 | thrown object |
41 __cxa_exception*
44 return static_cast<__cxa_exception*>(thrown_object) - 1;
52 thrown_object_from_cxa_exception(__cxa_exception* exception_header)
62 __cxa_exception*
73 return size + sizeof (__cxa_exception);
95 static inline int incrementHandlerCount(__cxa_exception *exception) {
100 static inline int decrementHandlerCount(__cxa_exception *exception) {
115 __cxa_exception* exception_header = cxa_exception_from_exception_unwind_exception(unwind_exception);
123 static LIBCXXABI_NORETURN void failed_throw(__cxa_exception* exception_header) {
137 // Allocate a __cxa_exception object, and zero-fill it.
144 __cxa_exception *exception_header =
145 static_cast<__cxa_exception *>(__malloc_with_fallback(actual_size));
153 // Free a __cxa_exception object allocated with __cxa_allocate_exception.
187 * Obtain the __cxa_exception header from the thrown exception object address,
189 __cxa_exception *header = ((__cxa_exception *) thrown_exception - 1);
190 * Save the current unexpected_handler and terminate_handler in the __cxa_exception header.
191 * Save the tinfo and dest arguments in the __cxa_exception header.
208 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
233 and saved in the exception header (either __cxa_exception or
251 The routine to be called before the cleanup. This will save __cxa_exception in
258 __cxa_exception* exception_header =
283 propagating __cxa_exception from __cxa_eh_globals, and continue the stack
296 __cxa_exception* exception_header = globals->propagatingExceptions;
345 the __cxa_exception by the personality routine.
348 routines. The foreign exception does not necessarily have a __cxa_exception
357 __cxa_exception block in front of the foreign exception. It would be better
359 doesn't. It has a stack of __cxa_exception (which has a next* in it).
372 // works as long as we're careful not to try to access any __cxa_exception
374 __cxa_exception* exception_header =
427 static_assert(sizeof(__cxa_exception) == sizeof(__cxa_dependent_exception),
428 "sizeof(__cxa_exception) must be equal to "
430 static_assert(__builtin_offsetof(__cxa_exception, referenceCount) ==
433 "the layout of __cxa_exception must match the layout of "
435 static_assert(__builtin_offsetof(__cxa_exception, handlerCount) ==
437 "the layout of __cxa_exception must match the layout of "
440 __cxa_exception* exception_header = globals->caughtExceptions;
508 __cxa_exception *exception_header = globals->caughtExceptions;
530 __cxa_exception* exception_header = globals->caughtExceptions;
568 of the __cxa_exception header associated with the thrown object referred to
577 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
584 of the __cxa_exception header associated with the thrown object referred to
594 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
619 __cxa_exception* exception_header = globals->caughtExceptions;
663 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);