[all-commits] [llvm/llvm-project] b6df85: tsan: fix fork syscall test

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Apr 30 01:23:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6df85290118d17c1dddf412a1a44a83158133e3
      https://github.com/llvm/llvm-project/commit/b6df85290118d17c1dddf412a1a44a83158133e3
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M compiler-rt/test/tsan/Linux/fork_syscall.cpp

  Log Message:
  -----------
  tsan: fix fork syscall test

Arm64 builders failed with:
error: use of undeclared identifier 'SYS_fork'
https://lab.llvm.org/buildbot/#/builders/7/builds/2575

Indeed, not all arches have fork syscall.
Implement fork via clone on these arches.

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




More information about the All-commits mailing list