[PATCH] D47146: Memorysanitizer fix mmap test for non Linux oses
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 09:56:02 PDT 2018
krytarowski added inline comments.
================
Comment at: test/msan/mmap.cc:67
+ int flags = MAP_PRIVATE | MAP_ANONYMOUS;
+#if defined(__linux__)
+ flags |= MAP_NORESERVE;
----------------
`ifdef MAP_NORESERVE`
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D47146
More information about the llvm-commits
mailing list