Skip to content

Fix off-by-one error in armv7 mach-o corefile register context #6729

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

jasonmolenda
Copy link

Fix off-by-one error in armv7 mach-o corefile register context

The sanity check on the size of the register context we found in the corefile was off by one, so lldb would not add the register contents. Add a test case to ensure it doesn't regress.

Differential Revision: https://reviews.llvm.org/D149224 rdar://108306070

(cherry picked from commit 6b6bac2)

The sanity check on the size of the register context we found in
the corefile was off by one, so lldb would not add the register
contents.  Add a test case to ensure it doesn't regress.

Differential Revision: https://reviews.llvm.org/D149224
rdar://108306070

(cherry picked from commit 6b6bac2)
@jasonmolenda
Copy link
Author

@swift-ci please test

@jasonmolenda
Copy link
Author

@swift-ci please test

@jasonmolenda
Copy link
Author

@swift-ci please test windows

@jasonmolenda jasonmolenda merged commit 2fd9697 into swiftlang:swift/release/5.9 Apr 27, 2023
@jasonmolenda jasonmolenda deleted the r108306070-off-by-one-armv7-macho-corefile-59 branch April 27, 2023 18: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