diff options
author | Eric Christopher <echristo@apple.com> | 2009-09-09 01:44:53 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2009-09-09 01:44:53 +0000 |
commit | 61f6978e8b11cdaed65770bcd18cff203ff4e229 (patch) | |
tree | b39e6e67831a0fe1f01fab81e5ccc686a854e308 /docs/ExceptionHandling.html | |
parent | cdf23b950a0a4c59b48b5dc6f18ce38383e3cc3c (diff) |
Correct __cxa_end_catch documentation to reflect that it doesn't take any arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ExceptionHandling.html')
-rw-r--r-- | docs/ExceptionHandling.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/ExceptionHandling.html b/docs/ExceptionHandling.html index 72fb349c16..ded9b36f15 100644 --- a/docs/ExceptionHandling.html +++ b/docs/ExceptionHandling.html @@ -4,7 +4,7 @@ <head> <title>Exception Handling in LLVM</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="description" + <meta name="description" content="Exception Handling in LLVM."> <link rel="stylesheet" href="llvm.css" type="text/css"> </head> @@ -56,7 +56,7 @@ <!-- *********************************************************************** --> -<div class="doc_section"><a name="introduction">Introduction</a></div> +<div class="doc_section"><a name="introduction">Introduction</a></div> <!-- *********************************************************************** --> <div class="doc_text"> @@ -295,8 +295,13 @@ <li><tt>__cxa_begin_catch</tt> takes a exception structure reference as an argument and returns the value of the exception object.</li> - <li><tt>__cxa_end_catch</tt> takes a exception structure reference as an - argument. This function clears the exception from the exception space. + <li><tt>__cxa_end_catch</tt> takes no arguments. This function + <ul>Locates the most recently caught exception and decrements its handler + count.</ul> + <ul>Removes the exception from the "caught" stack if the handler count goes + to zero.</ul> + <ul>Destroys the exception if the handler count goes to zero, and the + exception was not re-thrown by throw.</ul> Note: a rethrow from within the catch may replace this call with a <tt>__cxa_rethrow</tt>.</li> </ul> |