[all-commits] [llvm/llvm-project] 1f8ea4: [sanitizer] Fix the internal_clone implementation ...

Lu Weining via All-commits all-commits at lists.llvm.org
Fri Dec 9 19:58:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f8ea4149cbe4f841a77d4f9762c47cf600b7cbe
      https://github.com/llvm/llvm-project/commit/1f8ea4149cbe4f841a77d4f9762c47cf600b7cbe
  Author: Youling Tang <tangyouling at loongson.cn>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

  Log Message:
  -----------
  [sanitizer] Fix the internal_clone implementation on loongarch

Fix syscall clone argument passing order, also `call fn(arg)` should
return, change `jr $a5`(jirl $zero, $a5, 0) to `jirl $ra, $a5, 0`.

Reviewed By: SixWeining

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




More information about the All-commits mailing list