diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-07-18 16:38:32 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-07-18 16:38:32 +0000 |
commit | 4af88699346a219cd12da2134d9f38ae9e60acb3 (patch) | |
tree | c550fdfeeab5a95aac55dfd9796ebfe463396f36 /libcxxabi/www/spec.html | |
parent | 71fbd6b2286117c64906dbc323b8374dd8046bf1 (diff) | |
download | llvm-4af88699346a219cd12da2134d9f38ae9e60acb3.tar.gz |
Update by Marshall Clow
llvm-svn: 135397
Diffstat (limited to 'libcxxabi/www/spec.html')
-rw-r--r-- | libcxxabi/www/spec.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libcxxabi/www/spec.html b/libcxxabi/www/spec.html index 98d5a0df163d..9d9eba61d759 100644 --- a/libcxxabi/www/spec.html +++ b/libcxxabi/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> |