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

Justin King via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 06:54:46 PDT 2025


================
@@ -456,6 +463,9 @@ class Allocator {
     }
 #endif // GWP_ASAN_HOOKS
 
+    if (UNLIKELY(HasDeleteAlignment && !isPowerOfTwo(DeleteAlignment)))
----------------
jcking wrote:

Mostly because the isAligned check is also not above. If I move this one, arguably that one should also be moved. Thoughts?

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


More information about the llvm-commits mailing list