[PATCH] D47146: Memorysanitizer fix mmap test for oses not supporting MAP_NORESERVE flag

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 25 10:16:45 PDT 2018


eugenis added a comment.

Two questions,

1. How does MSan work at all if MAP_NORESERVE is not implemented? Is it actually the default setting, and it's the opposite behavior that is not implemented?
2. If the flag is defined in the headers but ignored by the kernel, then what is the purpose of this patch?


https://reviews.llvm.org/D47146





More information about the llvm-commits mailing list