[all-commits] [llvm/llvm-project] 1e2c20: [compiler-rt] Mark $t* as clobbered for Linux/Loon...

lixing-star via All-commits all-commits at lists.llvm.org
Fri Nov 11 05:24:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e2c20fc1381f88c9a697d5c25ff4393c31b69a3
      https://github.com/llvm/llvm-project/commit/1e2c20fc1381f88c9a697d5c25ff4393c31b69a3
  Author: XingLi <lixing at loongson.cn>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_syscall_linux_loongarch64.inc

  Log Message:
  -----------
  [compiler-rt] Mark $t* as clobbered for Linux/LoongArch syscalls

Linux/LoongArch doesn't preserve temporary registers across syscalls,
so we have to explicitly mark them as clobbered to avoid trashing local variables.

Reviewed By: xry111, xen0n, tangyouling, SixWeining

Differential Revision: https://reviews.llvm.org/D137396




More information about the All-commits mailing list