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

David Justo via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 13:54:08 PDT 2026


https://github.com/davidmrdavid commented:

Thanks for this PR. Can you please say more about the motivations behind this change? While I appreciate having more control over the behavior of the allocator by adding another parameter, this does not _seem_ to immediately make any existing (or planned) usecase any easier; _afaict_.

Is this meant to facilitate an upcoming API interception, or facilitate testing, or something else? If this is just a personal preference over the API design, then I'd have a harder time approving it. Please let me know, thanks!

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


More information about the llvm-commits mailing list