[PATCH] D54080: [unittest] Skip W+X MappedMemoryTests when MPROTECT is enabled
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 3 14:25:11 PDT 2018
mgorny created this revision.
mgorny added reviewers: krytarowski, andrew.w.kaylor.
Skip all MappedMemoryTest variants that rely on memory pages being
mapped for MF_WRITE|MF_EXEC when MPROTECT is enabled on NetBSD. W^X
protection causes all those mmap() calls to fail, causing the tests
to fail.
Repository:
rL LLVM
https://reviews.llvm.org/D54080
Files:
unittests/Support/MemoryTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54080.172505.patch
Type: text/x-patch
Size: 3691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181103/d8dc5f49/attachment.bin>
More information about the llvm-commits
mailing list