[compiler-rt] r314318 - [Sanitizer] Disable compact size class tests on Android
Alex Shlyapnikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 10:10:50 PDT 2017
Author: alekseyshl
Date: Wed Sep 27 10:10:49 2017
New Revision: 314318
URL: http://llvm.org/viewvc/llvm-project?rev=314318&view=rev
Log:
[Sanitizer] Disable compact size class tests on Android
Fixing test failure on Android introduced in D38245. Compact size class
maps defined there are not to be used on Android.
Modified:
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc?rev=314318&r1=314317&r2=314318&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator_test.cc Wed Sep 27 10:10:49 2017
@@ -1278,6 +1278,7 @@ TEST(SanitizerCommon, SizeClassAllocator
TestReleaseFreeMemoryToOS<Allocator64>();
}
+#if !SANITIZER_ANDROID
TEST(SanitizerCommon, SizeClassAllocator64CompactReleaseFreeMemoryToOS) {
TestReleaseFreeMemoryToOS<Allocator64Compact>();
}
@@ -1285,6 +1286,7 @@ TEST(SanitizerCommon, SizeClassAllocator
TEST(SanitizerCommon, SizeClassAllocator64VeryCompactReleaseFreeMemoryToOS) {
TestReleaseFreeMemoryToOS<Allocator64VeryCompact>();
}
+#endif // !SANITIZER_ANDROID
#endif // SANITIZER_CAN_USE_ALLOCATOR64
More information about the llvm-commits
mailing list