[compiler-rt] [asan] Plumb may_return_null through Allocator::Allocate/asan_memalign (PR #196413)

Justin T. Gibbs via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 17:03:22 PDT 2026


================
@@ -798,7 +802,8 @@ struct Allocator {
     thread_stats.reallocs++;
     thread_stats.realloced += new_size;
 
-    void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true);
+    void* new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, /*can_fill=*/true,
----------------
scsiguy wrote:

Done.

BTW, do you know what I have to do to trigger a re-run of the Linux build? I fixed the test failures yesterday for #196388, but I don't see the results of an updated CI build. 

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


More information about the llvm-commits mailing list