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

David Justo via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 10:42:25 PDT 2025


================
@@ -1007,13 +1007,8 @@ void PrintInternalAllocatorStats() {
   instance.PrintStats();
 }
 
-void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) {
----------------
davidmrdavid wrote:

Agreed, it's definitely an improvement in the ergonomics of the API. I'm mostly trying to understand the memalign "specialness", but I'm just asking for context so please don't let me hold this back.

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


More information about the llvm-commits mailing list