This is an archive of the discontinued LLVM Phabricator instance.

[Corosplit] Prepend entry_value in swift async dbg values
ClosedPublic

Authored by fdeazeve on May 3 2023, 12:37 PM.

Details

Summary

When the coroutine splitter splits swift coroutines, variables in the new
funclets are now described in terms of the frame pointer, which is always placed
at a ABI-specified register whose contents are valid upon function entry. As
such, debug intrinsics must be prepended by the entry_value operation.

Depends on D149778

Diff Detail

Event Timeline

fdeazeve created this revision.May 3 2023, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 12:37 PM
fdeazeve requested review of this revision.May 3 2023, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 12:37 PM
aprantl accepted this revision.May 3 2023, 1:22 PM
This revision is now accepted and ready to land.May 3 2023, 1:22 PM
fdeazeve updated this revision to Diff 519436.May 4 2023, 4:33 AM

Update lang ref

fdeazeve updated this revision to Diff 519447.May 4 2023, 5:12 AM

Reorganize test slightly to emphasize each coroutine split

This revision was landed with ongoing or failed builds.May 10 2023, 11:39 AM
This revision was automatically updated to reflect the committed changes.