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 | 598fa11c9960fa8f548554601b79cfab4b6a1d08 (patch) | |
tree | 71ac9c47e9b48fbcfcbee0a6ca0f3a4dd5954b04 /test/asan | |
parent | f0fdf665b4d351c308557383fadae7828660f499 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@306845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan')
0 files changed, 0 insertions, 0 deletions