[PATCH] D141913: WIP: Unwindabort: Add "unwindabort" syntax for the "call" instruction.

Jon Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 17:23:52 PDT 2023


jroelofs added inline comments.


================
Comment at: llvm/docs/LangRef.rst:11861
    - The return type must not undergo automatic conversion to an `sret` pointer.
+   - The call cannot be 'unwindabort'.
 
----------------
jroelofs wrote:
> Maybe I missed it in the Discourse thread, but can you elaborate on why `musttail` and `unwindabort` are mutually exclusive?
Oh, I see this is answered in a comment in a later patch:

```
  // A call marked unwindabort cannot be tail called, because the unwinder must
  // examine the call frame.
```

Probably worth sticking some or all of that note here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141913/new/

https://reviews.llvm.org/D141913



More information about the llvm-commits mailing list