-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[NativeAOT] Fix floating pointer register unwinding on Arm32 #118944
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
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
NativeAOT specific register window implementation has to match the one in libunwind.
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Fixes #118942. |
Do you know what was the exact condition that was triggering this? If it's something sane, I wonder if it would be worth a regression test. If we weren't uploading XML files with test results into AzDo and AzDo wasn't rejecting the durations, we'd basically never hit this in any of our testing. |
The distilled repro would be a chain of multiple methods that interleave floating-point computation and exception handling in a specific shape, something like this:
I can try to add a test like this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
It turns out we have multiple tests like that, but they are non-effective for various reasons. I am just going to fix one of the existing tests do what it meant to test. |
Pushed test updated. #119108 validated that the updated test fails on both linux-arm and linux-arm64 without the fixes. |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/ba-g infrastructure timeout |
/backport to release/10.0 |
Started backporting to release/10.0: https://github.com/dotnet/runtime/actions/runs/17276805531 |
NativeAOT specific register window implementation has to match the one in libunwind.
Fixes #118942.