[compiler-rt] lsan: Support free_sized and free_aligned_sized from C23 (PR #144604)

Justin King via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 14:18:22 PDT 2025


jcking wrote:

This is very similar to attempt 1, but interception is guarded. Since `free_sized` and `free_aligned_sized` are not widely available yet, platforms that cannot handle undefined weak symbols (i.e. macOS) gracefully are excluded. They can easily be supported once they are by updating the definition of `SANITIZER_INTERCEPT_FREE_SIZED` and `SANITIZER_INTERCEPT_FREE_ALIGNED_SIZED`.

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


More information about the llvm-commits mailing list