Skip to content

[LLDB] Cherry-pick swift async unwinding fixes #9069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

felipepiovezan
Copy link

No description provided.

This will enable subsequent commits to introduce calls to other member functions
from that method.

(cherry picked from commit bffca2b)
Variables are never available in the prologue of a function. By unwinding the pc
of the virtual frames as the first instruction of the continuation function,
LLDB is unable to display any variable information.

This patch addresses the issue by computing the continuation pointer from the
context of the function being unwound, and then querying the continuation's
SymbolContext to determine its prologue size.

(cherry picked from commit 85069c8)
@felipepiovezan felipepiovezan merged commit 7e39cd5 into swiftlang:stable/20240723 Aug 8, 2024
@felipepiovezan felipepiovezan deleted the felipe/cherry-pick-unwinding-to-rebranch branch August 8, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant