hanchenye-llvm-project/compiler-rt
Kuba Brecka 77f16f369b [tsan] Allow memchr interceptor to be used before initialization on OS X
On OS X, `memchr` is called on a newly created thread even before `__tsan_thread_start_func` is invoked, which means that the ThreadState object for that thread will not yet be initialized. Let's add `COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED` into the interceptor to simply call `internal_memchr` in these cases.

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

llvm-svn: 251935
2015-11-03 16:19:37 +00:00
..
cmake [tsan] CMake support for TSan on OS X 2015-11-03 14:13:59 +00:00
include [sanitizer-coverage] introduce __sanitizer_get_total_unique_caller_callee_pairs 2015-10-22 22:06:41 +00:00
lib [tsan] Allow memchr interceptor to be used before initialization on OS X 2015-11-03 16:19:37 +00:00
make [compiler-rt] Properly detect lack of available system libraries for arch in clang_darwin.mk 2015-10-05 22:24:12 +00:00
test [tsan] CMake support for TSan on OS X 2015-11-03 14:13:59 +00:00
unittests
www Update references to new lists.llvm.org mailing lists. 2015-08-05 03:58:00 +00:00
.arcconfig
.gitignore
CMakeLists.txt [CMake] Add options to control building sanitizers and builtins. 2015-09-14 19:59:24 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT Update copyright year to 2015. 2015-03-12 19:53:06 +00:00
Makefile
README.txt

README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================