[compiler-rt] r274265 - [compiler-rt] Re-active unittest previously broken on windows.
Etienne Bergeron via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 30 13:06:29 PDT 2016
Author: etienneb
Date: Thu Jun 30 15:06:29 2016
New Revision: 274265
URL: http://llvm.org/viewvc/llvm-project?rev=274265&view=rev
Log:
[compiler-rt] Re-active unittest previously broken on windows.
Summary: These tests are working fine.
Reviewers: rnk
Subscribers: kubabrecka, wang0109, llvm-commits, chrisha
Differential Revision: http://reviews.llvm.org/D21905
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=274265&r1=274264&r2=274265&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 Thu Jun 30 15:06:29 2016
@@ -335,7 +335,6 @@ TEST(SanitizerCommon, SizeClassAllocator
}
#endif
-#if !defined(_WIN32) // FIXME: This currently fails on Windows.
TEST(SanitizerCommon, LargeMmapAllocator) {
LargeMmapAllocator<> a;
a.Init(/* may_return_null */ false);
@@ -411,7 +410,6 @@ TEST(SanitizerCommon, LargeMmapAllocator
CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size));
a.Deallocate(&stats, p);
}
-#endif
template
<class PrimaryAllocator, class SecondaryAllocator, class AllocatorCache>
@@ -483,13 +481,11 @@ TEST(SanitizerCommon, CombinedAllocator6
}
#endif
-#if !defined(_WIN32) // FIXME: This currently fails on Windows.
TEST(SanitizerCommon, CombinedAllocator32Compact) {
TestCombinedAllocator<Allocator32Compact,
LargeMmapAllocator<>,
SizeClassAllocatorLocalCache<Allocator32Compact> > ();
}
-#endif
template <class AllocatorCache>
void TestSizeClassAllocatorLocalCache() {
More information about the llvm-commits
mailing list