Skip to content

Commit b3344a3

Browse files
author
Howard Hinnant
committed
Added __cxa_allocate_dependent_exception and __cxa_free_dependent_exception and marked them as done.
llvm-svn: 146045
1 parent 82d9272 commit b3344a3

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

libcxxabi/www/spec.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,44 @@
5858
<td>&#10003;</td>
5959
</tr>
6060

61+
<tr>
62+
<td>
63+
<p>
64+
<code>void* __cxa_allocate_dependent_exception() throw();</code>
65+
</p>
66+
<blockquote>
67+
<p>
68+
<i>Effects:</i> Allocates memory to hold a "dependent" exception to be thrown.
69+
<tt>thrown_size</tt> is the size of the exception object. Can allocate
70+
additional memory to hold private data. If memory can not be allocated, call
71+
<tt>std::terminate()</tt>.
72+
</p>
73+
<p>
74+
<i>Returns:</i> A pointer to the memory allocated for the exception object.
75+
</p>
76+
</blockquote>
77+
</td>
78+
<td>&#10003;</td>
79+
<td>&#10003;</td>
80+
<td>&#10003;</td>
81+
</tr>
82+
83+
<tr>
84+
<td>
85+
<p>
86+
<code>void __cxa_free_dependent_exception (void* dependent_exception) throw();</code>
87+
</p>
88+
<blockquote>
89+
<p>
90+
<i>Effects:</i> Frees memory allocated by <tt>__cxa_allocate_dependent_exception</tt>.
91+
</p>
92+
</blockquote>
93+
</td>
94+
<td>&#10003;</td>
95+
<td>&#10003;</td>
96+
<td>&#10003;</td>
97+
</tr>
98+
6199
<tr>
62100
<td colspan=4 align="center">Exception Handling</td>
63101
</tr>

0 commit comments

Comments
 (0)