HomePhabricator

[lsan][test] Enable many_tls_keys_pthread.cpp and disable swapcontext.

Authored by MaskRay on Mar 26 2021, 11:26 AM.

Description

[lsan][test] Enable many_tls_keys_pthread.cpp and disable swapcontext.cpp/fork_and_leak.cpp

With D98926, many_tls_keys_pthread.cpp appears to be working.

On glibc 2.30-0ubuntu2, swapcontext.cpp and Linux/fork_and_leak.cpp work fine
but they strangely fail on clang-cmake-aarch64-full
(https://lab.llvm.org/buildbot/#/builders/7/builds/2240).
Disable them for now.

Note: check-lsan was recently enabled on AArch64 in D98985. A test takes
10+ seconds. We should figure out the bottleneck.

Event Timeline

DavidSpickett added a subscriber: DavidSpickett.EditedApr 6 2021, 3:31 AM

Phab says I did a total revert, but I've just disabled many_tls_keys_pthread.cpp because it requires https://reviews.llvm.org/D98926 which is currently reverted. The test being enabled got missed in the initial revert.