summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-06-30 20:06:29 +0000
committerEtienne Bergeron <etienneb@google.com>2016-06-30 20:06:29 +0000
commit24e2814767b65f686885d716c9f200982359c780 (patch)
tree8e1fc56e166768653399c37cdcb10e0e1dd3428f /lib/sanitizer_common/tests/sanitizer_allocator_test.cc
parent25f7b99f04e20bdaf15c3a722274c7b9fa4cee02 (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@274265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/tests/sanitizer_allocator_test.cc')
-rw-r--r--lib/sanitizer_common/tests/sanitizer_allocator_test.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_allocator_test.cc b/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
index ae1040405..963034d8b 100644
--- a/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
+++ b/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
@@ -335,7 +335,6 @@ TEST(SanitizerCommon, SizeClassAllocator64Overflow) {
}
#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, CombinedAllocator64Compact) {
}
#endif
-#if !defined(_WIN32) // FIXME: This currently fails on Windows.
TEST(SanitizerCommon, CombinedAllocator32Compact) {
TestCombinedAllocator<Allocator32Compact,
LargeMmapAllocator<>,
SizeClassAllocatorLocalCache<Allocator32Compact> > ();
}
-#endif
template <class AllocatorCache>
void TestSizeClassAllocatorLocalCache() {