diff options
| author | Dimitry Andric <dimitry@andric.com> | 2018-06-13 21:37:49 +0000 |
|---|---|---|
| committer | Dimitry Andric <dimitry@andric.com> | 2018-06-13 21:37:49 +0000 |
| commit | a00c372cd3d1efda994c78d42febade990867ac0 (patch) | |
| tree | d987d65129c1b0dc9ad4a37a634cd6a2d797fc65 /compiler-rt | |
| parent | 9b8b0794b8dd8ebdd17b3653ad29abcc6b7a3583 (diff) | |
| download | bcm5719-llvm-a00c372cd3d1efda994c78d42febade990867ac0.tar.gz bcm5719-llvm-a00c372cd3d1efda994c78d42febade990867ac0.zip | |
Disable MSan tests of prlimit on FreeBSD
Like NetBSD, FreeBSD does not have prlimit(2), so do not attempt to use
it during the MSan tests.
llvm-svn: 334659
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/msan/tests/msan_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/msan/tests/msan_test.cc b/compiler-rt/lib/msan/tests/msan_test.cc index 40770f10460..29260f16e70 100644 --- 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) |

