[PATCH] D93497: Salvage debug info for function arguments in coro-split funclets.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 18:06:19 PST 2021


aprantl updated this revision to Diff 318374.
aprantl added a comment.

I made a small bugfix to my patch after which the salvaged debug info for the "artificial" variables is working as expected. What's missing now is a way to erase the the artificial variables from the main entry point function, and the non-artificial variables from the `.resume` funclets. Then we should be in a good shape.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93497/new/

https://reviews.llvm.org/D93497

Files:
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp
  llvm/lib/Transforms/Coroutines/CoroInternal.h
  llvm/lib/Transforms/Coroutines/CoroSplit.cpp
  llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
  llvm/test/Transforms/Coroutines/coro-debug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93497.318374.patch
Type: text/x-patch
Size: 11627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210122/7dfdff47/attachment.bin>


More information about the llvm-commits mailing list