Skip to content

Commit 467afc5

Browse files
committed
[powerpc] deactivate ManyThreadsTest asan test on powerpc64
This test case occassionally hangs when run on powerpc. This is also a problem on AArch64 (see https://bugs.llvm.org/show_bug.cgi?id=24389). Reactivate this when the problem is fixed. This could also be related to the same problem as with the tests ThreadedOneSizeMallocStressTest, ThreadedMallocStressTest, and several others that do not run reliably on powerpc. llvm-svn: 298873
1 parent fb99055 commit 467afc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/lib/asan/tests/asan_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,9 @@ void *ManyThreadsWorker(void *a) {
337337
return 0;
338338
}
339339

340-
#if !defined(__aarch64__)
340+
#if !defined(__aarch64__) && !defined(__powerpc64__)
341341
// FIXME: Infinite loop in AArch64 (PR24389).
342+
// FIXME: Also occasional hang on powerpc. Maybe same problem as on AArch64?
342343
TEST(AddressSanitizer, ManyThreadsTest) {
343344
const size_t kNumThreads =
344345
(SANITIZER_WORDSIZE == 32 || ASAN_AVOID_EXPENSIVE_TESTS) ? 30 : 1000;

0 commit comments

Comments
 (0)