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

Justin King via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 06:01:46 PDT 2025


jcking wrote:

> Just a few questions, otherwise looks good.
> 
> Would you add a test to rtsan_test_interceptors_posix.cpp too?
> 
> You can copy and paste an existing one, but it would be good to have:
> 
> 1. each new function with a valid pointer
> 2. each new function with an invalid pointer (doesn't die when instrumented)
> 
> Thanks for implementing these

Added tests. Let me know if what I added was along the lines of what you were expecting.

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


More information about the llvm-commits mailing list