[llvm] coro: Do not capture pointer locals that have no provenance (PR #223321)

via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 20 10:25:35 PDT 2026


dingxiangfei2009 wrote:

@chuanqixu9 Thanks for reviewing!

I admit that I was not thinking straight about it, so `captures(address)` is stronger than I thought.

I will drop this patch. One remaining question is, how attach are we to ensure that we observe the same byte value of a pointer in spite of the shorter lifetime span? What is the use in practice of observing this value after the allocation turns up dead?

https://github.com/llvm/llvm-project/pull/223321


More information about the llvm-commits mailing list