[all-commits] [llvm/llvm-project] 5f0a28: [Coroutines] Enhance DILabel generation with suppo...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Fri Aug 29 01:41:50 PDT 2025
Branch: refs/heads/users/dinistro/coro-split-label-inlined-at
Home: https://github.com/llvm/llvm-project
Commit: 5f0a28fac0f180424cb295bb6718823745ddcfd7
https://github.com/llvm/llvm-project/commit/5f0a28fac0f180424cb295bb6718823745ddcfd7
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
A llvm/test/Transforms/Coroutines/coro-split-dbg-labels-inlined.ll
Log Message:
-----------
[Coroutines] Enhance DILabel generation with support for inlined locs
This commit fixes an issue in the generation of DILabels. The previous
code did not cover cases where the suspend intrinsic had an inlined
location. Because of this, it took an incorrect DIScope, that broke an
internal pre-condition of `DIBuilder::insertLabel`.
This has been addressed by taking the DIScope of the "inlined at"
location, which should be the DISubprogram of the function holding the
label.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list