diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2017-04-01 00:22:47 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-04-01 00:22:47 +0000 |
| commit | 63b6df4f05f0c099fd8c361af24a99709af8c3db (patch) | |
| tree | 02ee0f208220c453cc13680856d1968fa8531b74 /llvm/lib/CodeGen/SlotIndexes.cpp | |
| parent | 810ce10b8ccc90bcf27083c9f03b49d5b03eaa9f (diff) | |
| download | bcm5719-llvm-63b6df4f05f0c099fd8c361af24a99709af8c3db.tar.gz bcm5719-llvm-63b6df4f05f0c099fd8c361af24a99709af8c3db.zip | |
[coroutines] Add cleanup for compiler injected objects/allocations in 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
Diffstat (limited to 'llvm/lib/CodeGen/SlotIndexes.cpp')
0 files changed, 0 insertions, 0 deletions

