| commit | fddaf1f369a12925456508eb9157691abe65d8ab | [log] [tgz] |
|---|---|---|
| author | Dmitry Vyukov <dvyukov@google.com> | Thu Feb 07 12:43:09 2019 +0000 |
| committer | Dmitry Vyukov <dvyukov@google.com> | Thu Feb 07 12:43:09 2019 +0000 |
| tree | f334b7ed547c21033182ad0cba063ed7248a96b5 | |
| parent | ccebc7e38c8045a39284c8582f483ffba0069810 [diff] |
tsan: Optimize performance of Thread sanitizer memory access functions - Manually unwind code in MemoryAccessImpl1() because clang do not optimize it - Check for .rodata section only in read operations - Place LIKELY/UNLIKELY on fast paths This speeds up synthetic memory access benchmarks by 10-20%. [dvyukov: fixed up consts in check_analyze.sh] Author: yuri (Yuri Per) Reviewed in: https://reviews.llvm.org/D57882 Context: https://reviews.llvm.org/D54889 llvm-svn: 353401