[PATCH] D31670: [coroutines] Implement correct GRO lifetime

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 22 18:02:29 PDT 2017


GorNishanov updated this revision to Diff 99837.
GorNishanov added a comment.

Remember old_top before emitting the cleanup and walk set Active on all emitted cleanups.
I tried to add Active flag to Emission, but it ended up being very hairy, so I went with the first option suggested.


https://reviews.llvm.org/D31670

Files:
  lib/CodeGen/CGCoroutine.cpp
  test/CodeGenCoroutines/coro-gro.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31670.99837.patch
Type: text/x-patch
Size: 6678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170523/c0d1fd0d/attachment.bin>


More information about the cfe-commits mailing list