[PATCH] D90772: [Coroutines] Add missing llvm.dbg.declare's to cover more allocas
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 02:10:23 PST 2020
Orlando added a comment.
Jeremy said:
> In theory this kind of behaviour is exactly what dbg.addr is for (variable lives in memory, maybe changes due to control flow). However moving everything to use dbg.addr stalled a long time ago, I believe @Orlando found that it's often unexpectedly dropped by optimisations, any opinion on whether it's usable @Orlando? We're hoping to use it for things someday soon, but we're definitely not there yet.
Yes that's right. It wasn't a particularly deep dive but from recent experience I would advise avoiding dbg.addr for now.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90772/new/
https://reviews.llvm.org/D90772
More information about the llvm-commits
mailing list