aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-06-20 21:23:02 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-06-20 21:23:02 +0000
commitccab11b0e8f2a2daff99f3376554ba1852507518 (patch)
tree40a39a6f87c6abf9d76037ca29e60b1197cebd5a /lldb/scripts/Python/python-wrapper.swig
parent91ef9de643e9a7043bcf88599882e6d8345d46cf (diff)
downloadllvm-ccab11b0e8f2a2daff99f3376554ba1852507518.zip
llvm-ccab11b0e8f2a2daff99f3376554ba1852507518.tar.gz
llvm-ccab11b0e8f2a2daff99f3376554ba1852507518.tar.bz2
[Sanitizers] Move cached allocator_may_return_null flag to sanitizer_allocator
Summary: Move cached allocator_may_return_null flag to sanitizer_allocator.cc and provide API to consolidate and unify the behavior of all specific allocators. Make all sanitizers using CombinedAllocator to follow AllocatorReturnNullOrDieOnOOM() rules to behave the same way when OOM happens. When OOM happens, turn allocator_out_of_memory flag on regardless of allocator_may_return_null flag value (it used to not to be set when allocator_may_return_null == true). release_to_os_interval_ms and rss_limit_exceeded will likely be moved to sanitizer_allocator.cc too (later). Reviewers: eugenis Subscribers: srhines, kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D34310 llvm-svn: 305858
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions