[compiler-rt] r292945 - [powerpc] deactivate ThreadedMallocStressTest asan test on powerpc64
Bill Seurer via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 08:51:16 PST 2017
Author: seurer
Date: Tue Jan 24 10:51:16 2017
New Revision: 292945
URL: http://llvm.org/viewvc/llvm-project?rev=292945&view=rev
Log:
[powerpc] deactivate ThreadedMallocStressTest asan test on powerpc64
This has not reliably worked on powerpc since r279664. Re-enable this
once the problem is tracked down and fixed.
Modified:
compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc?rev=292945&r1=292944&r2=292945&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_noinst_test.cc Tue Jan 24 10:51:16 2017
@@ -97,6 +97,9 @@ TEST(AddressSanitizer, NoInstMallocTest)
MallocStress(ASAN_LOW_MEMORY ? 300000 : 1000000);
}
+#ifndef __powerpc64__
+// FIXME: This has not reliably worked on powerpc since r279664. Re-enable
+// this once the problem is tracked down and fixed.
TEST(AddressSanitizer, ThreadedMallocStressTest) {
const int kNumThreads = 4;
const int kNumIterations = (ASAN_LOW_MEMORY) ? 10000 : 100000;
@@ -109,6 +112,7 @@ TEST(AddressSanitizer, ThreadedMallocStr
PTHREAD_JOIN(t[i], 0);
}
}
+#endif
static void PrintShadow(const char *tag, uptr ptr, size_t size) {
fprintf(stderr, "%s shadow: %lx size % 3ld: ", tag, (long)ptr, (long)size);
More information about the llvm-commits
mailing list