projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f739066
)
Disable BufferOverflowAfterManyFrees for NetBSD
author
Kamil Rytarowski
<n54@gmx.com>
Tue, 30 Oct 2018 22:08:47 +0000
(22:08 +0000)
committer
Kamil Rytarowski
<n54@gmx.com>
Tue, 30 Oct 2018 22:08:47 +0000
(22:08 +0000)
This test hangs in the i386 mode.
llvm-svn: 345666
compiler-rt/lib/asan/tests/asan_test.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/tests/asan_test.cc
b/compiler-rt/lib/asan/tests/asan_test.cc
index
25d6a20
..
464e99f
100644
(file)
--- 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