[compiler-rt] r208572 - [ASan tests] Don't run FakeStack.CreateDestroy on Windows as it OOMs
Timur Iskhodzhanov
timurrrr at google.com
Mon May 12 07:49:17 PDT 2014
Author: timurrrr
Date: Mon May 12 09:49:17 2014
New Revision: 208572
URL: http://llvm.org/viewvc/llvm-project?rev=208572&view=rev
Log:
[ASan tests] Don't run FakeStack.CreateDestroy on Windows as it OOMs
Modified:
compiler-rt/trunk/lib/asan/tests/asan_fake_stack_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_fake_stack_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_fake_stack_test.cc?rev=208572&r1=208571&r2=208572&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_fake_stack_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_fake_stack_test.cc Mon May 12 09:49:17 2014
@@ -59,6 +59,7 @@ TEST(FakeStack, FlagsOffset) {
}
}
+#if !defined(_WIN32) // FIXME: Fails due to OOM on Windows.
TEST(FakeStack, CreateDestroy) {
for (int i = 0; i < 1000; i++) {
for (uptr stack_size_log = 20; stack_size_log <= 22; stack_size_log++) {
@@ -67,6 +68,7 @@ TEST(FakeStack, CreateDestroy) {
}
}
}
+#endif
TEST(FakeStack, ModuloNumberOfFrames) {
EXPECT_EQ(FakeStack::ModuloNumberOfFrames(15, 0, 0), 0U);
More information about the llvm-commits
mailing list