[PATCH] D40754: [sanitizer] 64-bit allocator's PopulateFreeArray partial refactor
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 1 14:56:36 PST 2017
alekseyshl added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_allocator_primary64.h:723
+ region->mapped_meta += meta_map_size;
}
----------------
I'd suggest to wrap the entire metadata allocating block (from // Calculate the required space for metadata) with:
if (kMetadataSize) {
...
}
https://reviews.llvm.org/D40754
More information about the llvm-commits
mailing list