mirror of
https://github.com/ziglang/zig.git
synced 2026-01-03 03:53:20 +00:00
Whatever was in the frame pointer register prior to clone() will no longer be valid in the child process, so zero it to protect FP-based unwinders. This is just an extension of what was already done for i386 and x86_64. Only applied to architectures where the _start() code also zeroes the frame pointer.