[PATCH] D34310: [Sanitizers] Move cached allocator_may_return_null flag to sanitizer_allocator

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 17:58:02 PDT 2017


eugenis added inline comments.


================
Comment at: lib/asan/asan_allocator.cc:425
+    if (!allocated)
+      return nullptr;
 
----------------
why?


https://reviews.llvm.org/D34310





More information about the llvm-commits mailing list