summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-10-30 22:08:47 +0000
committerKamil Rytarowski <n54@gmx.com>2018-10-30 22:08:47 +0000
commit9fe6b4d5224e05f754d444e3c9d334519ec0037f (patch)
tree6f0eabd1f66866fb7e85a76209dd4c79b0baf836
parentf739066e8a80ea479913b55f21b733e8bf49afe8 (diff)
downloadbcm5719-llvm-9fe6b4d5224e05f754d444e3c9d334519ec0037f.tar.gz
bcm5719-llvm-9fe6b4d5224e05f754d444e3c9d334519ec0037f.zip
Disable BufferOverflowAfterManyFrees for NetBSD
This test hangs in the i386 mode. llvm-svn: 345666
-rw-r--r--compiler-rt/lib/asan/tests/asan_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc
index 25d6a208345..464e99f614d 100644
--- a/compiler-rt/lib/asan/tests/asan_test.cc
+++ b/compiler-rt/lib/asan/tests/asan_test.cc
@@ -1295,6 +1295,7 @@ TEST(AddressSanitizer, DISABLED_DemoTooMuchMemoryTest) {
}
}
+#if !defined(__NetBSD__) && !defined(__i386__)
// https://github.com/google/sanitizers/issues/66
TEST(AddressSanitizer, BufferOverflowAfterManyFrees) {
for (int i = 0; i < 1000000; i++) {
@@ -1304,6 +1305,7 @@ TEST(AddressSanitizer, BufferOverflowAfterManyFrees) {
EXPECT_DEATH(x[Ident(8192)] = 0, "AddressSanitizer: heap-buffer-overflow");
delete [] Ident(x);
}
+#endif
// Test that instrumentation of stack allocations takes into account
OpenPOWER on IntegriCloud