Home | History | Annotate | Download | only in src

Lines Matching refs:__cxa_exception

27 // | __cxa_exception           | _Unwind_Exception CLNGC++\0 | thrown object |
44 __cxa_exception*
47 return static_cast<__cxa_exception*>(thrown_object) - 1;
55 thrown_object_from_cxa_exception(__cxa_exception* exception_header)
65 __cxa_exception*
76 return size + sizeof (__cxa_exception);
98 static inline int incrementHandlerCount(__cxa_exception *exception) {
103 static inline int decrementHandlerCount(__cxa_exception *exception) {
132 __cxa_exception* exception_header = cxa_exception_from_exception_unwind_exception(unwind_exception);
140 static LIBCXXABI_NORETURN void failed_throw(__cxa_exception* exception_header) {
154 // Allocate a __cxa_exception object, and zero-fill it.
161 __cxa_exception* exception_header = static_cast<__cxa_exception*>(do_malloc(actual_size));
169 // Free a __cxa_exception object allocated with __cxa_allocate_exception.
203 * Obtain the __cxa_exception header from the thrown exception object address,
205 __cxa_exception *header = ((__cxa_exception *) thrown_exception - 1);
206 * Save the current unexpected_handler and terminate_handler in the __cxa_exception header.
207 * Save the tinfo and dest arguments in the __cxa_exception header.
224 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
249 and saved in the exception header (either __cxa_exception or
267 The routine to be called before the cleanup. This will save __cxa_exception in
274 __cxa_exception* exception_header =
299 propagating __cxa_exception from __cxa_eh_globals, and continue the stack
312 __cxa_exception* exception_header = globals->propagatingExceptions;
361 the __cxa_exception by the personality routine.
364 routines. The foreign exception does not necessarily have a __cxa_exception
373 __cxa_exception block in front of the foreign exception. It would be better
375 doesn't. It has a stack of __cxa_exception (which has a next* in it).
388 // works as long as we're careful not to try to access any __cxa_exception
390 __cxa_exception* exception_header =
443 static_assert(sizeof(__cxa_exception) == sizeof(__cxa_dependent_exception),
444 "sizeof(__cxa_exception) must be equal to "
446 static_assert(__builtin_offsetof(__cxa_exception, referenceCount) ==
449 "the layout of __cxa_exception must match the layout of "
451 static_assert(__builtin_offsetof(__cxa_exception, handlerCount) ==
453 "the layout of __cxa_exception must match the layout of "
456 __cxa_exception* exception_header = globals->caughtExceptions;
524 __cxa_exception *exception_header = globals->caughtExceptions;
546 __cxa_exception* exception_header = globals->caughtExceptions;
584 of the __cxa_exception header associated with the thrown object referred to
593 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
600 of the __cxa_exception header associated with the thrown object referred to
610 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
635 __cxa_exception* exception_header = globals->caughtExceptions;
679 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);