hanchenye-llvm-project/clang/test/CodeGenCoroutines
Gor Nishanov 6dcb0eb301 [coroutines] Build and pass coroutine_handle to await_suspend
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
2017-03-09 03:09:43 +00:00
..
coro-alloc.cpp [coroutines] Build and pass coroutine_handle to await_suspend 2017-03-09 03:09:43 +00:00
coro-builtins-err.c [coroutines] Adding builtins for coroutine intrinsics and backendutil support. 2016-10-03 22:44:48 +00:00
coro-builtins.c [coroutines] update coro_end builtin to match llvm 2017-03-07 21:01:08 +00:00
coro-return.cpp [coroutines] Build and pass coroutine_handle to await_suspend 2017-03-09 03:09:43 +00:00
microsoft-abi-operator-coawait.cpp