diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-06-30 17:21:34 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-06-30 17:21:34 +0000 |
commit | d3213c792e1d427ab1c9bb181c1f06596bd352ab (patch) | |
tree | 18cc50a6b446670c32476306daa40c80392cf1b9 /llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp | |
parent | f0d6169edda2a181f987b37ed3a1fd709dd8ae96 (diff) | |
download | llvm-d3213c792e1d427ab1c9bb181c1f06596bd352ab.zip llvm-d3213c792e1d427ab1c9bb181c1f06596bd352ab.tar.gz llvm-d3213c792e1d427ab1c9bb181c1f06596bd352ab.tar.bz2 |
[LSan] Make LSan allocator allocator_may_return_null compliant
Summary:
An attempt to reland D34786 (which caused bot failres on Mac), now with
properly intercepted operators new() and delete().
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/D34845
llvm-svn: 306845
Diffstat (limited to 'llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp')
0 files changed, 0 insertions, 0 deletions