[PATCH] D102469: [sanitizer] Reduce redzone size for small size global objects
Zhiwei Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 17 23:33:27 PDT 2021
condy marked an inline comment as done.
condy added inline comments.
================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:2556-2559
+ // Reduce redzone size for small size objects, e.g. int, char[1]. MinRZ is at
+ // least 32 bytes, optimize when SizeInBytes is less than half of MinRZ.
+ if (SizeInBytes < MinRZ / 2) {
+ RZ = MinRZ - SizeInBytes;
----------------
vitalybuka wrote:
>
Updated
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102469/new/
https://reviews.llvm.org/D102469
More information about the cfe-commits
mailing list