forked from OSchip/llvm-project
[powerpc] Move #if to appease warnings-as-errors tests
Previous patch added a #if which caused a variable and function to be unused. llvm-svn: 280846
This commit is contained in:
parent
82f729bf4e
commit
14f382065f
|
@ -102,6 +102,10 @@ 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 kManyThreadsNumThreads =
|
||||
(SANITIZER_WORDSIZE == 32) ? 40 : 200;
|
||||
|
||||
|
@ -117,9 +121,6 @@ static void *ManyThreadsWithStatsWorker(void *arg) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef __powerpc64__
|
||||
// FIXME: This has not reliably worked on powerpc since r279664. Re-enable
|
||||
// this once the problem is tracked down and fixed.
|
||||
TEST(AddressSanitizerInterface, ManyThreadsWithStatsStressTest) {
|
||||
size_t before_test, after_test, i;
|
||||
pthread_t threads[kManyThreadsNumThreads];
|
||||
|
|
Loading…
Reference in New Issue