diff options
author | Mitch Phillips <mitchphillips@outlook.com> | 2019-05-30 21:58:47 +0000 |
---|---|---|
committer | Mitch Phillips <mitchphillips@outlook.com> | 2019-05-30 21:58:47 +0000 |
commit | a6b68507f348766650e13391e0a03be84ef04706 (patch) | |
tree | 1570ceaba250f32f21498d326b5ea0ebff2965bc /lib/gwp_asan | |
parent | 4931e611d1d4acacf8c843553bb73fd566d97a9c (diff) | |
download | compiler-rt-a6b68507f348766650e13391e0a03be84ef04706.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@362163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/gwp_asan')
-rw-r--r-- | lib/gwp_asan/tests/mutex_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gwp_asan/tests/mutex_test.cpp b/lib/gwp_asan/tests/mutex_test.cpp index 36f7e1d23..5bc53b902 100644 --- a/lib/gwp_asan/tests/mutex_test.cpp +++ b/lib/gwp_asan/tests/mutex_test.cpp @@ -84,6 +84,6 @@ static void runSynchronisedTest(unsigned NumThreads, unsigned CounterMax) { } TEST(GwpAsanMutexTest, SynchronisedCounterTest) { - runSynchronisedTest(4, 100000); - runSynchronisedTest(1000, 1000000); + runSynchronisedTest(4, 1000000); + runSynchronisedTest(100, 1000000); } |