hanchenye-llvm-project/compiler-rt/lib/msan
Alexey Samsonov 6334f46db8 [Sanitizer] Introduce Allocator::may_return_null bool flag.
Summary:
Turn "allocator_may_return_null" common flag into an
Allocator::may_return_null bool flag. We want to make sure
that common flags are immutable after initialization. There
are cases when we want to change this flag in the allocator
at runtime: e.g. in unit tests and during ASan activation
on Android.

Test Plan: regression test suite, real-life applications

Reviewers: kcc, eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6623

llvm-svn: 224148
2014-12-12 20:07:35 +00:00
..
tests [msan] Intercept wcsto*. 2014-12-08 10:41:28 +00:00
CMakeLists.txt [MSan] [MIPS] Adding support for MIPS64 (patch by Mohit Bhakkad). 2014-11-19 21:42:33 +00:00
Makefile.mk
msan.cc [msan] allow -fsanitize-coverage=N together with -fsanitize=memory, compiler-rt part 2014-12-03 23:29:14 +00:00
msan.h [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
msan.syms.extra Properly generate lists of exported symbols for sanitizer runtimes 2013-08-27 15:08:02 +00:00
msan_allocator.cc [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
msan_allocator.h [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_blacklist.txt [MSan] Add empty default blacklist for MSan 2013-05-21 13:55:56 +00:00
msan_chained_origin_depot.cc [msan] Change the way origin ids are built. 2014-12-03 13:58:40 +00:00
msan_chained_origin_depot.h [msan] Make origin tracking fork-safe. 2014-09-04 10:36:14 +00:00
msan_flags.h [msan] Add store_context_size= flag. 2014-06-27 12:48:01 +00:00
msan_interceptors.cc [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
msan_interface_internal.h [msan] Remove MSanDR and supporting code. 2014-11-18 10:33:15 +00:00
msan_linux.cc [msan] allow -fsanitize-coverage=N together with -fsanitize=memory, compiler-rt part 2014-12-03 23:29:14 +00:00
msan_new_delete.cc [msan] Remove MSanDR and supporting code. 2014-11-18 10:33:15 +00:00
msan_origin.h [msan] Change the way origin ids are built. 2014-12-03 13:58:40 +00:00
msan_report.cc [msan] Change the way origin ids are built. 2014-12-03 13:58:40 +00:00
msan_thread.cc [Msan] Check returning value of DTLS_Get() 2014-11-26 10:42:02 +00:00
msan_thread.h [msan] Disable chained origins in signal handlers. 2014-04-23 14:01:57 +00:00