diff options
author | Bill Seurer <seurer@linux.vnet.ibm.com> | 2016-09-08 18:09:47 +0000 |
---|---|---|
committer | Bill Seurer <seurer@linux.vnet.ibm.com> | 2016-09-08 18:09:47 +0000 |
commit | ff3893fc1eb3f5cdf7d5e4a8dbfa31255802e4d2 (patch) | |
tree | f31adfe4189e25b7f32f939cf25cdb8a750744ff /lib/asan/tests | |
parent | ec17706f5a10e3f90560075df0e25987ab307bbf (diff) |
[powerpc] Move #if to appease warnings-as-errors tests
Previous patch added a #if which causes some unused identifier warnings.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@280976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests')
-rw-r--r-- | lib/asan/tests/asan_interface_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/asan/tests/asan_interface_test.cc b/lib/asan/tests/asan_interface_test.cc index d684dfee3..fd43f1771 100644 --- a/lib/asan/tests/asan_interface_test.cc +++ b/lib/asan/tests/asan_interface_test.cc @@ -100,12 +100,11 @@ TEST(AddressSanitizerInterface, GetHeapSizeTest) { } } -static const size_t kManyThreadsMallocSizes[] = {5, 1UL<<10, 1UL<<14, 357}; -static const size_t kManyThreadsIterations = 250; - #ifndef __powerpc64__ // FIXME: This has not reliably worked on powerpc since r279664. Re-enable // this once the problem is tracked down and fixed. +static const size_t kManyThreadsMallocSizes[] = {5, 1UL<<10, 1UL<<14, 357}; +static const size_t kManyThreadsIterations = 250; static const size_t kManyThreadsNumThreads = (SANITIZER_WORDSIZE == 32) ? 40 : 200; |