[ASan] Move rss_limit_is_exceeded_ flag to ASan. 44/182744/2
authorAlex Shlyapnikov <alekseys@google.com>
Fri, 22 Jun 2018 12:27:29 +0000 (15:27 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 19 Jul 2018 09:10:33 +0000 (09:10 +0000)
commit61cc482444c40caf6cf331fd73fc04850566ef31
treebbdc913ece2d84f14228bfdaa21f1cdc6beaf54c
parent53f3195f0638977d702afd4003b1985509c80263
[ASan] Move rss_limit_is_exceeded_ flag to ASan.

Summary:
Move the OOM decision based on RSS limits out of generic allocator to
ASan allocator, where it makes more sense at the moment.

Reviewers: eugenis

Subscribers: kubamracek, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@305342 91177308-0d34-0410-b5e6-96231b3b80d8

Change-Id: I2c7ccdfbfd420b74cbc5c96a50933bace9b88ccf
libsanitizer/asan/asan_allocator.cc
libsanitizer/sanitizer_common/sanitizer_allocator_combined.h