Added __cxa_allocate_dependent_exception and __cxa_free_dependent_exception and marked them as done.

llvm-svn: 146045
This commit is contained in:
Howard Hinnant 2011-12-07 18:30:06 +00:00
parent 82d9272fc2
commit b3344a3ac7
1 changed files with 38 additions and 0 deletions

View File

@ -58,6 +58,44 @@ additional memory to hold private data. If memory can not be allocated, call
<td>&#10003;</td>
</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>&#10003;</td>
<td>&#10003;</td>
<td>&#10003;</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>&#10003;</td>
<td>&#10003;</td>
<td>&#10003;</td>
</tr>
<tr>
<td colspan=4 align="center">Exception Handling</td>
</tr>