llvm-project/clang/test/CodeGenCoroutines
Gor Nishanov 63b6df4f05 [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
2017-04-01 00:22:47 +00:00
..
coro-alloc.cpp [coroutines] Handle get_return_object_on_allocation_failure 2017-03-27 23:36:59 +00:00
coro-await.cpp [coroutines] Add codegen for await and yield expressions 2017-03-26 02:18:05 +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-cleanup.cpp [coroutines] Add cleanup for compiler injected objects/allocations in coroutine body 2017-04-01 00:22:47 +00:00
coro-return.cpp [coroutines] Add cleanup for compiler injected objects/allocations in coroutine body 2017-04-01 00:22:47 +00:00
microsoft-abi-operator-coawait.cpp