Function rust_eh_personality
pub(in ::sys::personality::gcc) unsafe extern "C" fn rust_eh_personality(version: c_int, actions: _Unwind_Action, exception_class: _Unwind_Exception_Class, exception_object: *mut _Unwind_Exception, context: *mut _Unwind_Context) -> _Unwind_Reason_Code
personality fn called by Itanium C++ ABI Exception Handling
The personality routine for most non-Windows targets. This will be called by the unwinding library:
- "In the search phase, the framework repeatedly calls the personality routine, with the _UA_SEARCH_PHASE flag as described below, first for the current PC and register state, and then unwinding a frame to a new PC at each step..."
- "If the search phase reports success, the framework restarts in the cleanup phase. Again, it repeatedly calls the personality routine, with the _UA_CLEANUP_PHASE flag as described below, first for the current PC and register state, and then unwinding a frame to a new PC at each step..."i