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.
226 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
251 and saved in the exception header (either __cxa_exception or
270 The routine to be called before the cleanup. This will save __cxa_exception in
278 __cxa_exception* exception_header =
303 propagating __cxa_exception from __cxa_eh_globals, and continue the stack
316 __cxa_exception* exception_header = globals->propagatingExceptions;
365 the __cxa_exception by the personality routine.
368 routines. The foreign exception does not necessarily have a __cxa_exception
377 __cxa_exception block in front of the foreign exception. It would be better
379 doesn't. It has a stack of __cxa_exception (which has a next* in it).
392 // works as long as we're careful not to try to access any __cxa_exception
394 __cxa_exception* exception_header =
448 static_assert(sizeof(__cxa_exception) == sizeof(__cxa_dependent_exception),
449 "sizeof(__cxa_exception) must be equal to "
451 static_assert(offsetof(__cxa_exception, referenceCount) ==
453 "the layout of __cxa_exception must match the layout of "
455 static_assert(offsetof(__cxa_exception, handlerCount) ==
457 "the layout of __cxa_exception must match the layout of "
460 __cxa_exception* exception_header = globals->caughtExceptions;
528 __cxa_exception *exception_header = globals->caughtExceptions;
553 __cxa_exception* exception_header = globals->caughtExceptions;
591 of the __cxa_exception header associated with the thrown object referred to
601 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
608 of the __cxa_exception header associated with the thrown object referred to
619 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
646 __cxa_exception* exception_header = globals->caughtExceptions;
690 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);