[clang] [llvm] [mlir] [debuginfo][coro] Emit debug info labels for coroutine resume points (PR #141937)
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 28 07:17:01 PDT 2025
felipepiovezan wrote:
> ~Note that this also influences Swift. The new labels will also be available in Swift. I hope this might also be useful for Swift to improve debugging experience, and hence is actually a good thing?~
>
>
>
> ~Not sure, though. If you want, I could also skip emitting those labels for Swift.~
>
>
>
> ~CC @adrian-prantl~
>
>
>
> Nevermind, I got confused. This code path does not influence Swift, afaict
Yup, Swift bypasses the problem by not having a common entry point for all continuation points; instead, the continuation is always the start of a unique function with a line table entry that also points to the correct line number.
https://github.com/llvm/llvm-project/pull/141937
More information about the llvm-commits
mailing list