[PATCH] D141918: WIP: [Clang] Emit 'unwindabort' when applicable.
James Y Knight via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 10 12:38:29 PDT 2023
jyknight added a comment.
In D141918#4566838 <https://reviews.llvm.org/D141918#4566838>, @smeenai wrote:
> $ clang -std=c++20 -O2 -c crash.cpp
> cannot use musttail with unwindabort
Thanks for the report. We were missing a check of `CI.isUnwindAbort()` in CoroSplit.cpp's `shouldBeMustTail()` function -- fixed for next version of the series. (It's not a regression in tail-callability for coroutines, since that `call unwindabort` would've previously been an `invoke`, which also cannot be musttail'd.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141918/new/
https://reviews.llvm.org/D141918
More information about the cfe-commits
mailing list