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 | ba7c5cfbbb3dd1de41234e6ed1f97de3192f1172 (patch) | |
| tree | 8983c7f786dff28bf3245655d45438825b0e33e3 | |
| parent | 7d61594f336cd1fb7ff8adf39ea28644ef366224 (diff) | |
| download | bcm5719-llvm-ba7c5cfbbb3dd1de41234e6ed1f97de3192f1172.tar.gz bcm5719-llvm-ba7c5cfbbb3dd1de41234e6ed1f97de3192f1172.zip | |
[powerpc] Move #if to appease warnings-as-errors tests
Previous patch added a #if which causes some unused identifier warnings.
llvm-svn: 280976
| -rw-r--r-- | compiler-rt/lib/asan/tests/asan_interface_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_interface_test.cc b/compiler-rt/lib/asan/tests/asan_interface_test.cc index d684dfee3ad..fd43f17716b 100644 --- a/compiler-rt/lib/asan/tests/asan_interface_test.cc +++ b/compiler-rt/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; |

