[cfe-commits] [libcxxabi] r146045 - /libcxxabi/trunk/www/spec.html
Howard Hinnant
hhinnant at apple.com
Wed Dec 7 10:30:06 PST 2011
Author: hhinnant
Date: Wed Dec 7 12:30:06 2011
New Revision: 146045
URL: http://llvm.org/viewvc/llvm-project?rev=146045&view=rev
Log:
Added __cxa_allocate_dependent_exception and __cxa_free_dependent_exception and marked them as done.
Modified:
libcxxabi/trunk/www/spec.html
Modified: libcxxabi/trunk/www/spec.html
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/www/spec.html?rev=146045&r1=146044&r2=146045&view=diff
==============================================================================
--- libcxxabi/trunk/www/spec.html (original)
+++ libcxxabi/trunk/www/spec.html Wed Dec 7 12:30:06 2011
@@ -59,6 +59,44 @@
</tr>
<tr>
+<td>
+<p>
+<code>void* __cxa_allocate_dependent_exception() throw();</code>
+</p>
+<blockquote>
+<p>
+<i>Effects:</i> Allocates memory to hold a "dependent" exception to be thrown.
+<tt>thrown_size</tt> is the size of the exception object. Can allocate
+additional memory to hold private data. If memory can not be allocated, call
+<tt>std::terminate()</tt>.
+</p>
+<p>
+<i>Returns:</i> A pointer to the memory allocated for the exception object.
+</p>
+</blockquote>
+</td>
+<td>✓</td>
+<td>✓</td>
+<td>✓</td>
+</tr>
+
+<tr>
+<td>
+<p>
+<code>void __cxa_free_dependent_exception (void* dependent_exception) throw();</code>
+</p>
+<blockquote>
+<p>
+<i>Effects:</i> Frees memory allocated by <tt>__cxa_allocate_dependent_exception</tt>.
+</p>
+</blockquote>
+</td>
+<td>✓</td>
+<td>✓</td>
+<td>✓</td>
+</tr>
+
+<tr>
<td colspan=4 align="center">Exception Handling</td>
</tr>
More information about the cfe-commits
mailing list