[compiler-rt] r362163 - Attempt to fix test failure for armv8.
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 14:58:47 PDT 2019
Author: hctim
Date: Thu May 30 14:58:47 2019
New Revision: 362163
URL: http://llvm.org/viewvc/llvm-project?rev=362163&view=rev
Log:
Attempt to fix test failure for armv8.
Looks like armv8 can't handle a thousand threads, which GWP-ASan
requests when running a synchronised mutex test. Limiting this to 100 to
attempt to fix the build issue.
Modified:
compiler-rt/trunk/lib/gwp_asan/tests/mutex_test.cpp
Modified: compiler-rt/trunk/lib/gwp_asan/tests/mutex_test.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/gwp_asan/tests/mutex_test.cpp?rev=362163&r1=362162&r2=362163&view=diff
==============================================================================
--- compiler-rt/trunk/lib/gwp_asan/tests/mutex_test.cpp (original)
+++ compiler-rt/trunk/lib/gwp_asan/tests/mutex_test.cpp Thu May 30 14:58:47 2019
@@ -84,6 +84,6 @@ static void runSynchronisedTest(unsigned
}
TEST(GwpAsanMutexTest, SynchronisedCounterTest) {
- runSynchronisedTest(4, 100000);
- runSynchronisedTest(1000, 1000000);
+ runSynchronisedTest(4, 1000000);
+ runSynchronisedTest(100, 1000000);
}
More information about the llvm-commits
mailing list