[PATCH] D34433: [Sanitizers] 32 bit allocator respects allocator_may_return_null flag
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 09:59:12 PDT 2017
alekseyshl marked an inline comment as done.
alekseyshl added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_allocator_primary32.h:308
if (!b) {
b = c->CreateBatch(class_id, this, (TransferBatch*)i);
b->Clear();
----------------
eugenis wrote:
> is it possible for CreateBatch to return nullptr?
> It may Allocate().
>
Indeed!
https://reviews.llvm.org/D34433
More information about the llvm-commits
mailing list