[PATCH] D40754: [sanitizer] 64-bit allocator's PopulateFreeArray partial refactor
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 10:11:40 PST 2017
cryptoad updated this revision to Diff 125364.
cryptoad added a comment.
Introduce `IsRegionExhausted` that checks if the region has enough room prior
to calling `Mmap` for the user & metadata portions of memory.
Fold all the metadata work in a `if (kMetadataSize)`.
https://reviews.llvm.org/D40754
Files:
lib/sanitizer_common/sanitizer_allocator_primary64.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40754.125364.patch
Type: text/x-patch
Size: 5784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171204/9337aa80/attachment.bin>
More information about the llvm-commits
mailing list