diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-09-11 16:50:48 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-09-30 13:44:53 +0100 |
| commit | a12ce28224f475bd97dc92bc8314ffff60fd6dd2 (patch) | |
| tree | b135e02c66ba8f7276817701f7d6468fe6eb0d8c /test/src/convert-stack-trace.zig | |
| parent | 9901b9389ed963ff262d1ce4973029a570035f19 (diff) | |
| download | zig-a12ce28224f475bd97dc92bc8314ffff60fd6dd2.tar.gz zig-a12ce28224f475bd97dc92bc8314ffff60fd6dd2.zip | |
std: fix os.linux.x86.syscall6
It was possible for `arg6` to be passed as an operand relative to esp.
In that case, the `push` at the top clobbered esp and hence made the
reference to arg6 invalid. This was manifesting in this branch as broken
stack traces on x86-linux due to an `mmap2` syscall accidentally passing
the page offset as non-zero!
This commit fixes a bug introduced in cb0e6d8aa.
Diffstat (limited to 'test/src/convert-stack-trace.zig')
0 files changed, 0 insertions, 0 deletions
