Skip to content

[NativeAOT/ARM] Fix unwinding over floating point registers - #97863

Merged
jkotas merged 1 commit into
dotnet:mainfrom
filipnavara:naot-arm-fp-unwind
Feb 2, 2024
Merged

jkotas merged 1 commit into
dotnet:mainfrom
filipnavara:naot-arm-fp-unwind

Conversation

@filipnavara

Copy link
Copy Markdown
Member

The EHABI unwinder needs the Registers class to implement FP registers properly or it ends up not adjusting the stack pointer and returns garbage. The ABI also specifies to preserve the D8-D15 registers so add that.

Contributes to #97729

@ghost ghost added community-contribution Indicates that the PR has been added by a community member area-NativeAOT-coreclr labels Feb 2, 2024
@ghost

ghost commented Feb 2, 2024

Copy link
Copy Markdown

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

The EHABI unwinder needs the Registers class to implement FP registers properly or it ends up not adjusting the stack pointer and returns garbage. The ABI also specifies to preserve the D8-D15 registers so add that.

Contributes to #97729

Author: filipnavara
Assignees: -
Labels:

community-contribution, area-NativeAOT-coreclr

Milestone: -

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jkotas
jkotas merged commit 7f02aef into dotnet:main Feb 2, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 4, 2024
@filipnavara
filipnavara deleted the naot-arm-fp-unwind branch June 5, 2025 07:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-arm32 area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants