Skip to content

Arm64:[PAC-RET] Use hint-space instruction for stripping return address#129130

Merged
jkotas merged 2 commits into
dotnet:mainfrom
SwapnilGaikwad:github-fix-7079
Jun 8, 2026
Merged

Arm64:[PAC-RET] Use hint-space instruction for stripping return address#129130
jkotas merged 2 commits into
dotnet:mainfrom
SwapnilGaikwad:github-fix-7079

Conversation

@SwapnilGaikwad

@SwapnilGaikwad SwapnilGaikwad commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Fixes dotnet/dotnet#7079

Storing FP/LR along with the unwind info. It handle a scenario if unwinding takes place when lr is clobbered, as raised here.

cc: @dotnet/arm64-contrib @a74nh @jkotas @dhartglassMSFT

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jun 8, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@jkotas

jkotas commented Jun 8, 2026

Copy link
Copy Markdown
Member

Build break on Windows arm64:

2026-06-08T14:47:11.9985607Z
2026-06-08T14:47:12.0001022Z D:\a_work\1\s\artifacts\obj\coreclr\windows.arm64.Checked\vm\wks\asmhelpers.asm(6273) : error A2034: unknown opcode: PROLOG_SAVE_REG_PAIR_INDEXED
2026-06-08T14:47:12.0024902Z
2026-06-08T14:47:12.0029302Z PROLOG_SAVE_REG_PAIR_INDEXED fp, lr, #-16!
2026-06-08T14:47:12.0041473Z D:\a_work\1\s\artifacts\obj\coreclr\windows.arm64.Checked\vm\wks\asmhelpers.asm(6277) : error A2034: unknown opcode: EPILOG_RESTORE_REG_PAIR_INDEXED
2026-06-08T14:47:12.0047177Z
2026-06-08T14:47:12.0049888Z EPILOG_RESTORE_REG_PAIR_INDEXED fp, lr, 16

@jkotas jkotas merged commit dcabbab into dotnet:main Jun 8, 2026
113 checks passed
@SwapnilGaikwad SwapnilGaikwad deleted the github-fix-7079 branch June 8, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-arm64 area-VM-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.

F# compiler crashes with SIGILL (exit 132) on Linux ARM64

2 participants