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:
9b8b079
)
Disable MSan tests of prlimit on FreeBSD
author
Dimitry Andric
<dimitry@andric.com>
Wed, 13 Jun 2018 21:37:49 +0000
(21:37 +0000)
committer
Dimitry Andric
<dimitry@andric.com>
Wed, 13 Jun 2018 21:37:49 +0000
(21:37 +0000)
Like NetBSD, FreeBSD does not have prlimit(2), so do not attempt to use
it during the MSan tests.
llvm-svn: 334659
compiler-rt/lib/msan/tests/msan_test.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/msan/tests/msan_test.cc
b/compiler-rt/lib/msan/tests/msan_test.cc
index
40770f1
..
29260f1
100644
(file)
--- a/
compiler-rt/lib/msan/tests/msan_test.cc
+++ b/
compiler-rt/lib/msan/tests/msan_test.cc
@@
-3024,7
+3024,7
@@
TEST(MemorySanitizer, LongStruct) {
EXPECT_POISONED(s2.a8);
}
-#if defined(__NetBSD__)
+#if defined(__
FreeBSD__) || defined(__
NetBSD__)
#define MSAN_TEST_PRLIMIT 0
#elif defined(__GLIBC__)
#define MSAN_TEST_PRLIMIT __GLIBC_PREREQ(2, 13)