[PATCH] D34152: [sanitizer] MmapAlignedOrDie changes to reduce fragmentation
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 11:26:28 PDT 2017
cryptoad updated this revision to Diff 102369.
cryptoad marked 4 inline comments as done.
cryptoad added a comment.
Addressing review comments:
- modify `MmapAlignedOrDie`'s comment in `sanitizer_common.h`;
- require `size == alignment` for a `padding_chunk` to be returned, adjust the test accordingly;
- change the structure of the new test with an `if (SANITIZER_WINDOWS)`.
https://reviews.llvm.org/D34152
Files:
lib/sanitizer_common/sanitizer_allocator_primary32.h
lib/sanitizer_common/sanitizer_common.h
lib/sanitizer_common/sanitizer_posix.cc
lib/sanitizer_common/sanitizer_win.cc
lib/sanitizer_common/tests/sanitizer_common_test.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34152.102369.patch
Type: text/x-patch
Size: 9403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/577ecaff/attachment.bin>
More information about the llvm-commits
mailing list