[compiler-rt] [scudo] Add primary option to zero block on dealloc. (PR #142394)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 1 07:34:00 PDT 2025
================
@@ -53,6 +53,7 @@ template <typename Config> class SizeClassAllocator64 {
static const uptr CompactPtrScale = Config::getCompactPtrScale();
static const uptr RegionSizeLog = Config::getRegionSizeLog();
static const uptr GroupSizeLog = Config::getGroupSizeLog();
+ static const bool ZeroOnDealloc = Config::getZeroOnDealloc();
----------------
piwicode wrote:
Done. I had to capture the template argument.
https://github.com/llvm/llvm-project/pull/142394
More information about the llvm-commits
mailing list