Skip to content

Commit 4af8869

Browse files
author
Howard Hinnant
committed
Update by Marshall Clow
llvm-svn: 135397
1 parent 71fbd6b commit 4af8869

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

libcxxabi/www/spec.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
</p>
2828
<blockquote>
2929
<p>
30-
<i>Effects:</i> Allocates <tt>thrown_size</tt> bytes of memory. If memory
31-
can not be allocated, call <tt>std::terminate()</tt>.
30+
<i>Effects:</i> Allocates memory to hold the exception to be thrown.
31+
<tt>thrown_size</tt> is the size of the exception object. Can allocate
32+
additional memory to hold private data. If memory can not be allocated, call
33+
<tt>std::terminate()</tt>.
3234
</p>
3335
<p>
34-
<i>Returns:</i> A pointer to the allocated memory.
36+
<i>Returns:</i> A pointer to the memory allocated for the exception object.
3537
</p>
3638
</blockquote>
3739
</td>
@@ -47,7 +49,7 @@
4749
</p>
4850
<blockquote>
4951
<p>
50-
<i>Effects:</i> Deallocates the memory pointed to.
52+
<i>Effects:</i> Frees memory allocated by <tt>__cxa_allocate_exception</tt>.
5153
</p>
5254
</blockquote>
5355
</td>

0 commit comments

Comments
 (0)