[PATCH] D43088: [sanitizer] Size class map & local cache improvements

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 12:25:41 PST 2018


cryptoad added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_allocator_local_cache.h:234
       } else {
         c->batch_class_id = (c->class_size <
           TransferBatch::AllocationSizeRequiredForNElements(max_cached)) ?
----------------
If keeping the size construct, I can use size instead of c->class_size here.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43088





More information about the llvm-commits mailing list