Skip to content

[next][lldb] Disable deserialization safety for lldb #6092

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
merged 1 commit into from
Jan 24, 2023

Conversation

xymus
Copy link

@xymus xymus commented Jan 24, 2023

Deserialization safety prevents reading internal implementation details from swiftmodules files. Let's disable it for LLDB as these details are useful for debugging and LLDB enables more deserialization recovery. The recovery should help handle the same issues avoided by the safety. We can also expand the recovery more liberally if it crashes under paths avoided under safety.

Cherry-pick of #6060.

Deserialization safety prevents reading internal implementation details
from swiftmodules files. Let's disable it for LLDB as these details are
useful for debugging and LLDB enables more deserialization recovery. The
recovery should help handle the same issues avoided by the safety. We
can also expand the recovery more liberally if it crashes under paths
avoided under safety.
@xymus
Copy link
Author

xymus commented Jan 24, 2023

@swift-ci Please test

@xymus xymus merged commit c301cdb into swiftlang:next Jan 24, 2023
@xymus xymus deleted the lldb-disable-safety-next branch January 24, 2023 21:28
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