[PATCH] D34433: [Sanitizers] 32 bit allocator respects allocator_may_return_null flag
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 17:59:38 PDT 2017
eugenis 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();
----------------
is it possible for CreateBatch to return nullptr?
It may Allocate().
https://reviews.llvm.org/D34433
More information about the llvm-commits
mailing list