Skip to content

[lldb] Disable deserialization safety for lldb #6060

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 23, 2023

Conversation

xymus
Copy link

@xymus xymus commented Jan 21, 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.

@xymus
Copy link
Author

xymus commented Jan 21, 2023

@swift-ci please test

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 xymus force-pushed the lldb-disable-safety branch from 3e93ad0 to d4e60e2 Compare January 23, 2023 16:20
@xymus
Copy link
Author

xymus commented Jan 23, 2023

@swift-ci please test

@xymus xymus merged commit 7542373 into swiftlang:stable/20220421 Jan 23, 2023
@xymus xymus deleted the lldb-disable-safety branch January 23, 2023 19:00
@adrian-prantl
Copy link

@xymus please make sure to also cherry-pick this to stable/20221013 and next. There is no automerger in this direction. Thanks!

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.

3 participants