Index: compiler-rt/lib/sanitizer_common/sanitizer_syscall_linux_loongarch64.inc =================================================================== --- compiler-rt/lib/sanitizer_common/sanitizer_syscall_linux_loongarch64.inc +++ compiler-rt/lib/sanitizer_common/sanitizer_syscall_linux_loongarch64.inc @@ -21,7 +21,8 @@ // are passed in: a0-a7 (confirmed by inspecting glibc sources). #define SYSCALL(name) __NR_##name -#define INTERNAL_SYSCALL_CLOBBERS "memory" +#define INTERNAL_SYSCALL_CLOBBERS \ + "memory", "$t0", "$t1", "$t2", "$t3", "$t4", "$t5", "$t6", "$t7", "$t8" static uptr __internal_syscall(u64 nr) { register u64 a7 asm("$a7") = nr;