[cfe-commits] [libcxxabi] r135397 - /libcxxabi/trunk/www/spec.html

Howard Hinnant hhinnant at apple.com
Mon Jul 18 09:38:32 PDT 2011


Author: hhinnant
Date: Mon Jul 18 11:38:32 2011
New Revision: 135397

URL: http://llvm.org/viewvc/llvm-project?rev=135397&view=rev
Log:
Update by Marshall Clow

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=135397&r1=135396&r2=135397&view=diff
==============================================================================
--- libcxxabi/trunk/www/spec.html (original)
+++ libcxxabi/trunk/www/spec.html Mon Jul 18 11:38:32 2011
@@ -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 @@
 </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>





More information about the cfe-commits mailing list