[all-commits] [llvm/llvm-project] 10939d: [GWP-ASan] Remove thread clamping in tests.

Mitch Phillips via All-commits all-commits at lists.llvm.org
Thu Feb 2 15:40:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10939d1d580b9d3c9c2f3539c6bdb39f408179c0
      https://github.com/llvm/llvm-project/commit/10939d1d580b9d3c9c2f3539c6bdb39f408179c0
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M compiler-rt/lib/gwp_asan/tests/recoverable.cpp
    M compiler-rt/lib/gwp_asan/tests/thread_contention.cpp

  Log Message:
  -----------
  [GWP-ASan] Remove thread clamping in tests.

It's better and easier for us to just have threads contend against each
other in the tests if it's more than the maximum supported number of
hardware threads available.

Specifically, the recoverable test fails on Android because the
GTEST_SKIP in a called function, and it only properly works from the
TEST_* harness function. Android tests run on cuttlefish, which can be a
single core with two hyperthreads.

Reviewed By: fmayer

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




More information about the All-commits mailing list