[PATCH] D97673: [RFC] [[Coroutine] [Debug] Salvage dbg.value at O2
Xun Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 17:34:25 PDT 2021
lxfind added a comment.
In D97673#2700185 <https://reviews.llvm.org/D97673#2700185>, @ChuanqiXu wrote:
> In D97673#2697366 <https://reviews.llvm.org/D97673#2697366>, @lxfind wrote:
>
>>> Previously all `dbg.value`s would be lost after CoroSplit pass. `dbg.value` is debug info compiler produced under optimization. This patch wants to remain as many `dbg.value` as possible while it don't want to change the layout of frame for debug info.
Thanks for explaining. It makes sense.
Does it only happen to parameters, or does it also happen to allocas? (I would be more interested to see how this affects allocas, since parameters are somewhat special)
And how is this related to O2 <https://reviews.llvm.org/owners/package/2/>?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97673/new/
https://reviews.llvm.org/D97673
More information about the llvm-commits
mailing list