mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 17:23:09 +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.