[compiler-rt] asan: refactor interceptor allocation/deallocation functions (PR #145087)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 9 10:40:16 PDT 2025
================
@@ -1117,6 +1111,99 @@ uptr asan_malloc_usable_size(const void *ptr, uptr pc, uptr bp) {
return usable_size;
}
+namespace {
+
+void *asan_new(uptr size, BufferedStackTrace *stack, bool array) {
----------------
vitalybuka wrote:
I'd prefer we move it into name -> asan_new_array()
https://github.com/llvm/llvm-project/pull/145087
More information about the llvm-commits
mailing list