[compiler-rt] [scudo] Add primary option to zero block on dealloc. (PR #142394)
Christopher Ferris via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 12:35:36 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,
----------------
cferris1000 wrote:
Don't add this as a flag, please leave it a config parameter because this is really very specific to fuchsia. Most other uses of this will likely prefer to change the pattern fill to occur on allocate or deallocate rather than only to the primary.
https://github.com/llvm/llvm-project/pull/142394
More information about the llvm-commits
mailing list