mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 22:00:14 +00:00
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
This commit is contained in:
parent
9b8b0794b8
commit
a00c372cd3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user