[PATCH] D45860: [Coroutines] Catch exceptions in await_resume

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 2 18:06:07 PDT 2018


modocache updated this revision to Diff 144961.
modocache added a comment.

Oops, thanks for testing on release mode, @GorNishanov. Turns out I had a dangling pointer. With this update the tests pass on both release and debug.


Repository:
  rC Clang

https://reviews.llvm.org/D45860

Files:
  lib/CodeGen/CGCoroutine.cpp
  test/CodeGenCoroutines/coro-await-resume-eh.cpp
  test/CodeGenCoroutines/coro-unhandled-exception.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45860.144961.patch
Type: text/x-patch
Size: 7742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180503/81869029/attachment.bin>


More information about the cfe-commits mailing list