[PATCH] D102642: [LangRef] update according to unwinding support in inline asm

Paul via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 17 11:13:45 PDT 2021


cynecx created this revision.
cynecx added a reviewer: Amanieu.
Herald added a subscriber: jdoerfert.
cynecx requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102642

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -4300,9 +4300,16 @@
 
     call void asm inteldialect "eieio", ""()
 
-If multiple keywords appear the '``sideeffect``' keyword must come
-first, the '``alignstack``' keyword second and the '``inteldialect``'
-keyword last.
+In the case that the inline asm might unwind the stack,
+the '``unwind``' keyword may be used:
+
+.. code-block:: llvm
+
+    call void asm unwind "call func", ""()
+
+If multiple keywords appear, the '``sideeffect``' keyword must come
+first, the '``alignstack``' keyword second, the '``inteldialect``' keyword
+third and the '``unwind``' keyword last.
 
 Inline Asm Constraint String
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102642.345944.patch
Type: text/x-patch
Size: 793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/6a2467a3/attachment.bin>


More information about the llvm-commits mailing list