[PATCH] D131628: [LangRef] Add description for nocallback attribute

Gulfem Savrun Yeniceri via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 15:45:11 PDT 2022


gulfem created this revision.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
gulfem requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds the description for nocallback attribute
that is implemented in https://reviews.llvm.org/D90275.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131628

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1751,6 +1751,11 @@
     with equivalent code based on the semantics of the built-in function, unless
     the call site uses the ``builtin`` attribute. This is valid at call sites
     and on function declarations and definitions.
+``nocallback``
+    This attribute indicates that the function is not allowed to jump back into
+    the caller's translation unit, whether through invoking a callback function,
+    a direct, possibly transitive, external function call, use of ``longjmp``,
+    or other means.
 ``noduplicate``
     This attribute indicates that calls to the function cannot be
     duplicated. A call to a ``noduplicate`` function may be moved


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131628.451661.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220810/415ff858/attachment.bin>


More information about the llvm-commits mailing list