summaryrefslogtreecommitdiff
path: root/www/spec.html
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-07-18 16:38:32 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-07-18 16:38:32 +0000
commit3c883588c333dd2baa1722afcb2130c5157c6748 (patch)
tree50083117c75593914b9dea85c0360683df5e3c04 /www/spec.html
parent7123bcb3bbbcc33c69666d4f0f83052b9a64a7fb (diff)
Update by Marshall Clow
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@135397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/spec.html')
-rw-r--r--www/spec.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/spec.html b/www/spec.html
index 98d5a0d..9d9eba6 100644
--- a/www/spec.html
+++ b/www/spec.html
@@ -27,11 +27,13 @@
</p>
<blockquote>
<p>
-<i>Effects:</i> Allocates <tt>thrown_size</tt> bytes of memory. If memory
-can not be allocated, call <tt>std::terminate()</tt>.
+<i>Effects:</i> Allocates memory to hold the 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 allocated memory.
+<i>Returns:</i> A pointer to the memory allocated for the exception object.
</p>
</blockquote>
</td>
@@ -47,7 +49,7 @@ can not be allocated, call <tt>std::terminate()</tt>.
</p>
<blockquote>
<p>
-<i>Effects:</i> Deallocates the memory pointed to.
+<i>Effects:</i> Frees memory allocated by <tt>__cxa_allocate_exception</tt>.
</p>
</blockquote>
</td>