diff --git a/libcxxabi/www/spec.html b/libcxxabi/www/spec.html index 6c4b6be1d1df..5251d8ca72f1 100644 --- a/libcxxabi/www/spec.html +++ b/libcxxabi/www/spec.html @@ -58,6 +58,44 @@ additional memory to hold private data. If memory can not be allocated, call ✓ + + +

+void* __cxa_allocate_dependent_exception() throw(); +

+
+

+Effects: Allocates memory to hold a "dependent" exception to be thrown. +thrown_size is the size of the exception object. Can allocate +additional memory to hold private data. If memory can not be allocated, call +std::terminate(). +

+

+Returns: A pointer to the memory allocated for the exception object. +

+
+ +✓ +✓ +✓ + + + + +

+void __cxa_free_dependent_exception (void* dependent_exception) throw(); +

+
+

+Effects: Frees memory allocated by __cxa_allocate_dependent_exception. +

+
+ +✓ +✓ +✓ + + Exception Handling