summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ExceptionHandling.rst
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2015-09-08 20:16:35 +0000
committerVedant Kumar <vsk@apple.com>2015-09-08 20:16:35 +0000
commit9e1998e1981c015857a378d5146ed234e43158e1 (patch)
tree06d30b63b18c8d5513640f53312171bf0b5511c8 /llvm/docs/ExceptionHandling.rst
parentb54e62fe177571636acd85a820f7f66716df68ff (diff)
downloadbcm5719-llvm-9e1998e1981c015857a378d5146ed234e43158e1.tar.gz
bcm5719-llvm-9e1998e1981c015857a378d5146ed234e43158e1.zip
[docs] Update documentation for the landingpad instruction
llvm-svn: 247062
Diffstat (limited to 'llvm/docs/ExceptionHandling.rst')
-rw-r--r--llvm/docs/ExceptionHandling.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/docs/ExceptionHandling.rst b/llvm/docs/ExceptionHandling.rst
index a90f7be9d71..9d8284598f5 100644
--- a/llvm/docs/ExceptionHandling.rst
+++ b/llvm/docs/ExceptionHandling.rst
@@ -162,11 +162,11 @@ pad to the back end. For C++, the ``landingpad`` instruction returns a pointer
and integer pair corresponding to the pointer to the *exception structure* and
the *selector value* respectively.
-The ``landingpad`` instruction takes a reference to the personality function to
-be used for this ``try``/``catch`` sequence. The remainder of the instruction is
-a list of *cleanup*, *catch*, and *filter* clauses. The exception is tested
-against the clauses sequentially from first to last. The clauses have the
-following meanings:
+The ``landingpad`` instruction looks for a reference to the personality
+function to be used for this ``try``/``catch`` sequence in the parent
+function's attribute list. The instruction contains a list of *cleanup*,
+*catch*, and *filter* clauses. The exception is tested against the clauses
+sequentially from first to last. The clauses have the following meanings:
- ``catch <type> @ExcType``
OpenPOWER on IntegriCloud