[all-commits] [llvm/llvm-project] 5be3b3: [test][sanitizer] Don't use non-portable __WALL

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Dec 14 16:39:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5be3b3fe1912f9d24f49ef8106297f1ceb8a4f91
      https://github.com/llvm/llvm-project/commit/5be3b3fe1912f9d24f49ef8106297f1ceb8a4f91
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c

  Log Message:
  -----------
  [test][sanitizer] Don't use non-portable __WALL

We don't need it anyway.


  Commit: 3cc39f7d22965edfa79aacc959549d3b9b3a5fa6
      https://github.com/llvm/llvm-project/commit/3cc39f7d22965edfa79aacc959549d3b9b3a5fa6
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c

  Log Message:
  -----------
  [test][sanitizer] Add pthread_join in child

Call dangerous code on main thread as well.
And use _exit() to avoid any issues during regular process cleanup.

And disable TSAN as it does not lock allocator yet.


Compare: https://github.com/llvm/llvm-project/compare/fd8e854a86d8...3cc39f7d2296


More information about the All-commits mailing list