[powerpc] Move #if to appease warnings-as-errors tests
authorBill Seurer <seurer@linux.vnet.ibm.com>
Thu, 8 Sep 2016 18:09:47 +0000 (18:09 +0000)
committerBill Seurer <seurer@linux.vnet.ibm.com>
Thu, 8 Sep 2016 18:09:47 +0000 (18:09 +0000)
Previous patch added a #if which causes some unused identifier warnings.

llvm-svn: 280976

compiler-rt/lib/asan/tests/asan_interface_test.cc

index d684dfe..fd43f17 100644 (file)
@@ -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;