llvm-project
a74c7d87 - [win][aarch64] Always reserve frame pointers for Arm64 Windows (#146582)

Commit
128 days ago
[win][aarch64] Always reserve frame pointers for Arm64 Windows (#146582) There is no way in Arm64 Windows to indicate that a given function has used the Frame Pointer as a General Purpose Register, as such stack walks will always assume that the frame chain is valid and will follow whatever value has been saved for the Frame Pointer (even if it is pointing to data, etc.). This change makes the Frame Pointer always reserved when building for Arm64 Windows to avoid this issue. We will be updating the official Windows ABI documentation to reflect this requirement, and I will provide a link once it's available.
Author
Parents
Loading