diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp @@ -701,9 +701,11 @@ } #endif +#if !(SANITIZER_SOLARIS && defined(__sparcv9)) TEST(SanitizerCommon, CombinedAllocator32Compact) { TestCombinedAllocator(); } +#endif template void TestSizeClassAllocatorLocalCache() { @@ -937,9 +939,11 @@ #endif #endif +#if !(SANITIZER_SOLARIS && defined(__sparcv9)) TEST(SanitizerCommon, SizeClassAllocator32Iteration) { TestSizeClassAllocatorIteration(); } +#endif TEST(SanitizerCommon, LargeMmapAllocatorIteration) { LargeMmapAllocator a;