[llvm] r247062 - [docs] Update documentation for the landingpad instruction

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 13:16:35 PDT 2015


Author: vedantk
Date: Tue Sep  8 15:16:35 2015
New Revision: 247062

URL: http://llvm.org/viewvc/llvm-project?rev=247062&view=rev
Log:
[docs] Update documentation for the landingpad instruction

Modified:
    llvm/trunk/docs/ExceptionHandling.rst

Modified: llvm/trunk/docs/ExceptionHandling.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ExceptionHandling.rst?rev=247062&r1=247061&r2=247062&view=diff
==============================================================================
--- llvm/trunk/docs/ExceptionHandling.rst (original)
+++ llvm/trunk/docs/ExceptionHandling.rst Tue Sep  8 15:16:35 2015
@@ -162,11 +162,11 @@ pad to the back end. For C++, the ``land
 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``
 




More information about the llvm-commits mailing list