Skip to content

[move-function-value] Make sure that we propagate the debug scope from our original debug value into new undef debug values. #41521

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

Merged

Conversation

gottesmm
Copy link
Contributor

Otherwise if the move is in a different scope, the backend will think that we
have two different variables and emit the corresponding dwarf.

After I have this commit in and my alloc stack hoising commit (via a different
PR), I am going to be able to commit a full end <-> end test in lldb that values
are printed out appropriately as their lifetimes begin/end.

…m our original debug value into new undef debug values.

Otherwise if the move is in a different scope, the backend will think that we
have two different variables and emit the corresponding dwarf.

After I have this commit in and my alloc stack hoising commit (via a different
PR), I am going to be able to commit a full end <-> end test in lldb that values
are printed out appropriately as their lifetimes begin/end.
@gottesmm
Copy link
Contributor Author

@adrian-prantl Just more of what we have already talked about with the scope issue.

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

@gottesmm gottesmm merged commit dd8d5b8 into swiftlang:main Feb 23, 2022
@gottesmm gottesmm deleted the pr-7a4df70e3efbb5bb8a409952b2381683166cea37 branch February 23, 2022 07:57
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