[PATCH] Exception handling docs: Clarify how the llvm.eh.* intrinsics are used
Mark Seaborn
mseaborn at chromium.org
Tue Mar 18 10:59:11 PDT 2014
> This isn’t correct phrasing. ‘llc’ is orthogonal to the question here.
> The intrinsics are introduced by the same pass in the backend when using clang, too.
OK, changed to say "the backend" rather than "llc".
I thought saying "llc" would be more concrete; "llc" is used synonymously with the backend in some contexts (such as Bugzilla components). But "backend" is the terminology in the docs, such as in LangRef.
Hi void,
http://llvm-reviews.chandlerc.com/D3010
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D3010?vs=7656&id=7921#toc
Files:
docs/ExceptionHandling.rst
Index: docs/ExceptionHandling.rst
===================================================================
--- docs/ExceptionHandling.rst
+++ docs/ExceptionHandling.rst
@@ -327,10 +327,19 @@
function. This value can be used to compare against the result of
``landingpad`` instruction. The single argument is a reference to a type info.
+Uses of this intrinsic are generated by the C++ front-end.
+
+SJLJ Intrinsics
+---------------
+
+The ``llvm.eh.sjlj`` intrinsics are used internally within LLVM's
+backend. Uses of them are generated by the backend's
+``SjLjEHPrepare`` pass.
+
.. _llvm.eh.sjlj.setjmp:
``llvm.eh.sjlj.setjmp``
------------------------
+~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: llvm
@@ -352,7 +361,7 @@
.. _llvm.eh.sjlj.longjmp:
``llvm.eh.sjlj.longjmp``
-------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: llvm
@@ -365,7 +374,7 @@
destination address.
``llvm.eh.sjlj.lsda``
----------------------
+~~~~~~~~~~~~~~~~~~~~~
.. code-block:: llvm
@@ -377,7 +386,7 @@
function context for use by the runtime.
``llvm.eh.sjlj.callsite``
--------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: llvm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3010.2.patch
Type: text/x-patch
Size: 1176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140318/04bb5260/attachment.bin>
More information about the llvm-commits
mailing list