Skip to content
Commit 17277f13 authored by Alex Shlyapnikov's avatar Alex Shlyapnikov
Browse files

[LSan] Make LSan allocator allocator_may_return_null compliant

Summary:
LSan allocator used to always return nullptr on too big allocation requests
(the definition of "too big" depends on platform and bitness), now it
follows policy configured by allocator_may_return_null flag.

Reviewers: eugenis

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D34786

llvm-svn: 306624
parent 34a18722
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment