Go to file
Dmitry Vyukov 2e8d82e607 tsan: do not instrument not captured values
I've built some tests in WebRTC with and without this change. With this change number of __tsan_read/write calls is reduced by 20-40%, binary size decreases by 5-10% and execution time drops by ~5%. For example:

$ ls -l old/modules_unittests new/modules_unittests
-rwxr-x--- 1 dvyukov 41708976 Jan 20 18:35 old/modules_unittests
-rwxr-x--- 1 dvyukov 38294008 Jan 20 18:29 new/modules_unittests
$ objdump -d old/modules_unittests | egrep "callq.*__tsan_(read|write|unaligned)" | wc -l
239871
$ objdump -d new/modules_unittests | egrep "callq.*__tsan_(read|write|unaligned)" | wc -l
148365

http://reviews.llvm.org/D7069

llvm-svn: 228917
2015-02-12 09:55:28 +00:00
clang Fix tests so they work when the linker is gcc 2015-02-12 03:37:55 +00:00
clang-tools-extra Add clang-tidy check google-global-names-in-headers. 2015-02-11 21:21:05 +00:00
compiler-rt [Sanitizer] Change InitializeFlags() signatures. NFC. 2015-02-12 00:36:42 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement log10 2015-01-30 18:00:34 +00:00
libcxx Change some template parameter names from _C and _N to _Cont and _Sz. No functionality change. 2015-02-11 16:14:01 +00:00
libcxxabi unwind: use explicit memcpy for register saving 2015-02-12 04:25:05 +00:00
lld [ELF][Cleanup] Remove unused function 2015-02-12 05:29:50 +00:00
lldb Search through all memory regions of the core file for 2015-02-12 06:14:23 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm tsan: do not instrument not captured values 2015-02-12 09:55:28 +00:00
openmp Fixed memory corruption problem. 2015-02-10 20:10:21 +00:00
polly Link LLVM libraries into libLLVMPolly if BUILD_SHARED_LIBS=ON is set 2015-02-12 08:27:19 +00:00