|
@@ -1551,6 +1551,19 @@ extern "C" void __cxa_call_unexpected(void*exception)
|
|
|
abort();
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * ABI function, called when an object destructor exits due to an
|
|
|
+ * exception during stack unwinding.
|
|
|
+ *
|
|
|
+ * This function does not return.
|
|
|
+ */
|
|
|
+extern "C" void __cxa_call_terminate(void*exception) _LIBCXXRT_NOEXCEPT
|
|
|
+{
|
|
|
+ std::terminate();
|
|
|
+ // Should not be reached.
|
|
|
+ abort();
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* ABI function, returns the adjusted pointer to the exception object.
|
|
|
*/
|