hanchenye-llvm-project/compiler-rt/lib/tsan
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
..
benchmarks
dd [DD] Don't store the second copy of CommonFlags inside DDFlags. 2014-12-10 02:30:04 +00:00
go [tsan] remove TSAN_GO in favor of SANITIZER_GO 2014-12-09 01:31:14 +00:00
rtl [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
tests [TSan] Use StackTrace from sanitizer_common where applicable 2014-11-03 22:23:44 +00:00
CMakeLists.txt [CMake] Make sure dd is built as a part of compiler-rt. 2014-12-10 02:14:15 +00:00
Makefile.mk
Makefile.old tsan: fix vector clocks 2014-04-11 15:38:03 +00:00
analyze_libtsan.sh tsan: add interface functions for unaligned access, e.g. __sanitizer_unaligned_load16 2013-04-30 11:56:56 +00:00
check_analyze.sh tsan: optimize memory access functions 2014-05-30 13:36:29 +00:00
check_cmake.sh tsan: use a different dir for llvm build 2014-10-15 08:56:15 +00:00
check_memcpy.sh tsan: refactor storage of meta information for heap blocks and sync objects 2014-05-29 13:50:54 +00:00