You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[5.7] IRGen: Use the current function name for the swift_suspend_point thunk
This is an incremental improvement of the debug info at a
(hop_to_executor) suspend site.
Before this patch the debug info at the call site would use the
`__swift_suspend_point` function name as the current function after
coro lowering has inlined the thunk.
The proper fix is to rewire the debug info such that the thunk name is
never mentioned rather the current function that suspend site sits in is
used.
Until I have figured out how to do that using the current function name
instead of `__swift_suspend_point` for the thunk is an incremental
improvement in the debug information consumers can observe.
rdar://90859530
This is the same approach as we took for the await suspend points (vs.
hop to executor in this patch) in the PR swiftlang#41645.
Risk is very low, only a function name of a function that is guaranteed
to be inlined during coroutine splitting is changed.
0 commit comments