From 39f0cf90e5f761187a67b88741efcf0049baa959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 9 Aug 2026 05:10:03 +0200 Subject: [PATCH] std.debug.cpu_context.Alpha: fix current assembly not saving r31 It's always zero, but we shouldn't leave that element of the array undefined. --- lib/std/debug/cpu_context.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/debug/cpu_context.zig b/lib/std/debug/cpu_context.zig index a0c50743465ccfcc0a68dd91589a6fade3da7e28..5a4cfb32cef8bda3afa6c489dd1be1453b67769e 100644 --- a/lib/std/debug/cpu_context.zig +++ b/lib/std/debug/cpu_context.zig @@ -349,6 +349,7 @@ const Alpha = extern struct { \\ stq $28, 0x0e0($0) \\ stq $29, 0x0e8($0) \\ stq $30, 0x0f0($0) + \\ stq $31, 0x0f8($0) \\ \\ br $1, 1f \\1: -- 2.54.0