Summary: This patch adds passing a coroutine_handle object to await_suspend calls. It builds the coroutine_handle using coroutine_handle<PromiseType>::from_address(__builtin_coro_frame()). (a revision of https://reviews.llvm.org/D26316 that for some reason refuses to apply via arc patch) Reviewers: GorNishanov Subscribers: mehdi_amini, cfe-commits, EricWF Differential Revision: https://reviews.llvm.org/D30769 llvm-svn: 297356 |
||
|---|---|---|
| .. | ||
| coro-alloc.cpp | ||
| coro-builtins-err.c | ||
| coro-builtins.c | ||
| coro-return.cpp | ||
| microsoft-abi-operator-coawait.cpp | ||