[PATCH] D97673: [RFC] [[Coroutine] [Debug] Salvage dbg.values
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 2 18:02:02 PST 2021
ChuanqiXu added a comment.
@hoy The rationale here is that the dbg.declare intrinsics might be lost due to coroutine split. So we move the dbg.declare intrinsics to the place where the Storage is just created. So if it caused crash, I think we could skip the kind of case. Or it would be better to insert dbg.declare to the start of successor blocks in the case of invoke. (Would any other terminator return a value?)
BTW, there is nothing in your repro link.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97673/new/
https://reviews.llvm.org/D97673
More information about the llvm-commits
mailing list