Skip to content

Conversation

@jasonmolenda
Copy link

debugserver isn't saving and restoring the SVE/SME register state around inferior function calls.

Making arbitrary function calls while in Streaming SVE mode is generally a poor idea because a NEON instruction can be hit and crash the expression execution, which is how I missed this, but they should be handled correctly if the user knows it is safe to do.

Re-landing this change after fixing an incorrect behavior on systems without SME support.

rdar://146886210
(cherry picked from commit f1c6612)

…#134184)

debugserver isn't saving and restoring the SVE/SME register state around
inferior function calls.

Making arbitrary function calls while in Streaming SVE mode is generally
a poor idea because a NEON instruction can be hit and crash the
expression execution, which is how I missed this, but they should be
handled correctly if the user knows it is safe to do.

Re-landing this change after fixing an incorrect behavior on systems
without SME support.

rdar://146886210
(cherry picked from commit f1c6612)
@jasonmolenda jasonmolenda requested a review from a team as a code owner April 4, 2025 07:29
@jasonmolenda
Copy link
Author

@swift-ci test

@JDevlieghere JDevlieghere merged commit af0d850 into swiftlang:swift/release/6.1 Apr 4, 2025
3 checks passed
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.

2 participants