diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-06-29 01:02:40 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-06-29 01:02:40 +0000 |
commit | 17277f13f048b528ce9e35db2cb58540f6180abd (patch) | |
tree | fba2bcfe91d7f9939283f9a520d185de273405f6 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 34a18722fd060ca598d0d25b7e944272c41e42fe (diff) | |
download | bcm5719-llvm-17277f13f048b528ce9e35db2cb58540f6180abd.tar.gz bcm5719-llvm-17277f13f048b528ce9e35db2cb58540f6180abd.zip |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions