Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [coroutines] Add emission of initial and final suspends | Gor Nishanov | 2017-05-23 | 1 | -5/+5 |
| | | | | | | https://reviews.llvm.org/D31608 llvm-svn: 303603 | ||||
* | [coroutines] Wrap the body of the coroutine in try-catch | Gor Nishanov | 2017-05-22 | 1 | -18/+41 |
| | | | | | | | | | | | | | | | | | | | | | | Summary: If unhandled_exception member function is present in the coroutine promise, wrap the body of the coroutine in: ``` try { body } catch(...) { promise.unhandled_exception(); } ``` Reviewers: EricWF, rnk, rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31692 llvm-svn: 303583 | ||||
* | [coroutines] Add cleanup for compiler injected objects/allocations in ↵ | Gor Nishanov | 2017-04-01 | 1 | -0/+74 |
coroutine body Summary: * Use pushCleanup to emit freeing coroutine memory on normal and EH exits. * Surround emitted code with CodeGenFunction::RunCleanupsScope. Reviewers: rsmith, rnk, EricWF Reviewed By: rnk Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31460 llvm-svn: 299281 |