diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2017-03-09 03:09:43 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-03-09 03:09:43 +0000 |
| commit | 6dcb0eb301c72ba2628d2e292a91cae09244faa8 (patch) | |
| tree | 24e9c584bd0387d86e2c0063947028f8d9ad1b4b /llvm/lib/CodeGen/StackProtector.cpp | |
| parent | 84a2dadceeb9013a5df995e81cbbebe47b1dd045 (diff) | |
| download | bcm5719-llvm-6dcb0eb301c72ba2628d2e292a91cae09244faa8.tar.gz bcm5719-llvm-6dcb0eb301c72ba2628d2e292a91cae09244faa8.zip | |
[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
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions

