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

Yifeng Dong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 24 21:09:32 PST 2021


dongAxis1944 added a comment.

thanks,  i will check the patch asap.

In D93497#2517239 <https://reviews.llvm.org/D93497#2517239>, @aprantl wrote:

> I have now uploaded a variant of the patch that incorporates logic that is similar in spirit to https://reviews.llvm.org/D94388 in that it deletes the "dead" dbg.declare intrinsics. Doing it inside of CoroFrame should be safe, since we are only deleting dbg.declares that we previously salvaged.
>
> At least in your example, it has the desired effect. We should probably still prepare a patch that turns the artificial variables into real function parameters, but that's a separate issue.
>
>   (lldb) v t
>   (test &) t = 0x00007ffeefbff9f0 (i = 238, j = 255, k = 1)




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

https://reviews.llvm.org/D93497



More information about the llvm-commits mailing list