summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index ef5913b78f3..43b47763303 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -5284,7 +5284,7 @@ Syntax:
::
- catchret label <normal>
+ catchret <type> <value> to label <normal>
Overview:
"""""""""
@@ -5308,6 +5308,7 @@ whose unwinding was interrupted with a
The :ref:`personality function <personalityfn>` gets a chance to execute
arbitrary code to, for example, run a C++ destructor.
Control then transfers to ``normal``.
+It may be passed an optional, personality specific, value.
Example:
""""""""
OpenPOWER on IntegriCloud