[compiler-rt] [scudo] Add primary option to zero block on dealloc. (PR #142394)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 07:54:26 PDT 2025


================
@@ -34,6 +34,10 @@ SCUDO_FLAG(bool, delete_size_mismatch, true,
 
 SCUDO_FLAG(bool, zero_contents, false, "Zero chunk contents on allocation.")
 
+SCUDO_FLAG(bool, zero_on_dealloc, false,
+           "Clears the memory slot when a allocation is returned to the "
----------------
piwicode wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/142394


More information about the llvm-commits mailing list