X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=docs%2FExceptionHandling.rst;h=71efa4bbd531b5e8eb134edce462637f4638d5a8;hp=2f09155dff2f3b8fbc0e716ac7f30f70eb505ea1;hb=8f3f5c300ec8f29c62d966e5865fd95965f94878;hpb=226889eb73e83dea20c050047bcff71e1552a90f diff --git a/docs/ExceptionHandling.rst b/docs/ExceptionHandling.rst index 2f09155dff2..71efa4bbd53 100644 --- a/docs/ExceptionHandling.rst +++ b/docs/ExceptionHandling.rst @@ -401,6 +401,20 @@ intrinsic serves as a placeholder to delimit code before a catch handler is outlined. After the handler is outlined, this intrinsic is simply removed. +.. _llvm.eh.exceptionpointer: + +``llvm.eh.exceptionpointer`` +---------------------- + +.. code-block:: llvm + + i8 addrspace(N)* @llvm.eh.padparam.pNi8(token %catchpad) + + +This intrinsic retrieves a pointer to the exception caught by the given +``catchpad``. + + SJLJ Intrinsics ---------------