From 61f6978e8b11cdaed65770bcd18cff203ff4e229 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 9 Sep 2009 01:44:53 +0000 Subject: [PATCH] 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 --- docs/ExceptionHandling.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/ExceptionHandling.html b/docs/ExceptionHandling.html index 72fb349c16a..ded9b36f155 100644 --- a/docs/ExceptionHandling.html +++ b/docs/ExceptionHandling.html @@ -4,7 +4,7 @@ Exception Handling in LLVM - @@ -56,7 +56,7 @@ -
Introduction
+
Introduction
@@ -295,8 +295,13 @@
  • __cxa_begin_catch takes a exception structure reference as an argument and returns the value of the exception object.
  • -
  • __cxa_end_catch takes a exception structure reference as an - argument. This function clears the exception from the exception space. +
  • __cxa_end_catch takes no arguments. This function +
      Locates the most recently caught exception and decrements its handler + count.
    +
      Removes the exception from the "caught" stack if the handler count goes + to zero.
    +
      Destroys the exception if the handler count goes to zero, and the + exception was not re-thrown by throw.
    Note: a rethrow from within the catch may replace this call with a __cxa_rethrow.