[PATCH] D141918: WIP: [Clang] Emit 'unwindabort' when applicable.
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 7 11:47:44 PDT 2023
smeenai added a comment.
Thanks for the rebase!
We're eager to try this for Meta's Android apps, where size is a priority and better `noexcept` codegen would be really helpful. I ran into a crash with coroutines though, which blocks me from fully evaluating the size difference made by these changes. The reduced test case is in P8313 <https://reviews.llvm.org/P8313>, and you can repro the crash by running:
$ clang -std=c++20 -O2 -c crash.cpp
cannot use musttail with unwindabort
musttail call unwindabort fastcc void %10(ptr %call57)
in function _Z5startv.resume
fatal error: error in backend: Broken function found, compilation aborted!
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