summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2017-04-01 00:22:47 +0000
committerGor Nishanov <GorNishanov@gmail.com>2017-04-01 00:22:47 +0000
commit63b6df4f05f0c099fd8c361af24a99709af8c3db (patch)
tree02ee0f208220c453cc13680856d1968fa8531b74 /llvm/lib/CodeGen
parent810ce10b8ccc90bcf27083c9f03b49d5b03eaa9f (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud