[compiler-rt] asan: refactor interceptor allocation/deallocation functions (PR #145087)

Justin King via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 07:39:42 PDT 2025


jcking wrote:

> Tried to build/test your change on Mac (xcrun ninja check-compiler-rt) and see these failures:
> 
> ```
>   AddressSanitizer-arm64-darwin :: TestCases/Posix/new_array_cookie_test.cpp
>   AddressSanitizer-arm64-darwin :: TestCases/Posix/new_array_cookie_uaf_test.cpp
>   AddressSanitizer-arm64-darwin :: TestCases/strcpy-overlap.cpp
>   AddressSanitizer-arm64-darwin :: TestCases/strncpy-overlap.cpp
> ```
> 
> Not sure if your change affect those, but feels to touch the area which is close - can you run this test (it's Posix so possible problems should also show up on Linux)? NM if you've already did.

For me `TestCases/Linux/aligned_delete_test.cpp` fails on Linux. Investigating.

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


More information about the llvm-commits mailing list