commit 7dddcd043f23fe05f3333ec10a5592f385a46e49 (tree)
parent 1e26d885d31d34a00949f28250d6c482e9b38f57
Author: Lukas Lalinsky <lukas@lalinsky.com>
Date: Thu, 19 Feb 2026 21:24:36 +0100
Add `lr` and `sp` clobbers for arm/thumb
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/builtin/assembly.zig b/lib/std/builtin/assembly.zig
@@ -555,6 +555,8 @@ pub const Clobbers = switch (@import("builtin").cpu.arch) {
r13: bool = false,
r14: bool = false,
+ lr: bool = false,
+ sp: bool = false,
fpscr: bool = false,
vpr: bool = false,