[PATCH] D131628: [LangRef] Add description for nocallback attribute
Gulfem Savrun Yeniceri via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 4 18:20:43 PDT 2022
gulfem updated this revision to Diff 473387.
gulfem added a comment.
Addressed feedback.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131628/new/
https://reviews.llvm.org/D131628
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1802,6 +1802,12 @@
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 only allowed to jump back into
+ caller's module only by a return or an exception, and is not allowed to jump
+ back by invoking a callback function, a direct, possibly transitive, external
+ function call, use of ``longjmp``, or other means. It is a compiler hint that
+ is used at module level to improve dataflow analysis and dropped during linking.
``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.473387.patch
Type: text/x-patch
Size: 967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221105/2ab891a1/attachment.bin>
More information about the llvm-commits
mailing list