tsan/asan: support pthread_setname_np to set thread names
authorDmitry Vyukov <dvyukov@google.com>
Tue, 29 Oct 2013 10:30:39 +0000 (10:30 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 29 Oct 2013 10:30:39 +0000 (10:30 +0000)
commit3e8432ee6c93bb5645ca85c8daab03a35b41eead
treec7b8407a701cc379f6b73b524c732a1320f7d408
parentda797048d9dac2b34880c9858a393c5af08e817b
tsan/asan: support pthread_setname_np to set thread names

llvm-svn: 193602
compiler-rt/lib/asan/asan_interceptors.cc
compiler-rt/lib/msan/msan_interceptors.cc
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cc
compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
compiler-rt/lib/tsan/lit_tests/thread_name2.cc [new file with mode: 0644]
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
compiler-rt/lib/tsan/rtl/tsan_stat.cc
compiler-rt/lib/tsan/rtl/tsan_stat.h