llvm-project/compiler-rt/lib/lsan
Alex Shlyapnikov d3213c792e [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
2017-06-30 17:21:34 +00:00
..
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
lsan.cc Implement standalone lsan interceptors for OS X 2017-04-11 20:05:02 +00:00
lsan.h Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
lsan_allocator.cc [LSan] Make LSan allocator allocator_may_return_null compliant 2017-06-30 17:21:34 +00:00
lsan_allocator.h [sanitizer] Change SizeClassAllocator32 to accept just one template 2017-05-15 14:47:19 +00:00
lsan_common.cc Revert "[sanitizer-coverage] test for -fsanitize-coverage=inline-8bit-counters" 2017-06-05 07:36:02 +00:00
lsan_common.h [lsan] Enable LSan on PowerPC64. 2017-04-21 21:59:53 +00:00
lsan_common_linux.cc Revert "[sanitizer-coverage] test for -fsanitize-coverage=inline-8bit-counters" 2017-06-05 07:36:02 +00:00
lsan_common_mac.cc Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
lsan_flags.inc Implement tls scanning for darwin LSan 2017-05-25 17:41:13 +00:00
lsan_interceptors.cc [LSan] Make LSan allocator allocator_may_return_null compliant 2017-06-30 17:21:34 +00:00
lsan_linux.cc Implement standalone lsan interceptors for OS X 2017-04-11 20:05:02 +00:00
lsan_mac.cc Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
lsan_malloc_mac.cc Implement standalone lsan interceptors for OS X 2017-04-11 20:05:02 +00:00
lsan_preinit.cc [Sanitizer] Introduce SANITIZER_CAN_USE_PREINIT_ARRAY definition and use it across sanitizers. 2014-07-25 22:05:02 +00:00
lsan_thread.cc Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
lsan_thread.h Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
weak_symbols.txt Add cmake build support for lsan on OS X 2017-02-14 00:56:53 +00:00