[PATCH] D39473: [sanitizers] Increase alignment of low level allocator

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 14:41:21 PST 2017


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:185
+  // Align allocation size.  Must be aligned to maximum supported
+  // shadow granularity.
+  size = RoundUpTo(size, 32);
----------------
Why can't this be just a shadow granularity?


https://reviews.llvm.org/D39473





More information about the llvm-commits mailing list