[compiler-rt] [llvm] scudo: Support free_sized and free_aligned_sized from C23 (PR #146556)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 10:51:26 PDT 2025


================
@@ -433,7 +439,8 @@ class Allocator {
   }
 
   NOINLINE void deallocate(void *Ptr, Chunk::Origin Origin, uptr DeleteSize = 0,
-                           UNUSED uptr Alignment = MinAlignment) {
+                           bool HasDeleteSize = false, uptr DeleteAlignment = 0,
+                           bool HasDeleteAlignment = false) {
----------------
ChiaHungDuan wrote:

Can we use `DeleteAlignment=0` to indicate `HasDeleteSize=false`?

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


More information about the llvm-commits mailing list