summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_flags.cc
AgeCommit message (Collapse)Author
2012-11-28tsan: add log_path parameter (similar to asan)Dmitry Vyukov
remove old log_fileno git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168788 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-28tsan: dynamic history sizeDmitry Vyukov
introduces history_size parameter that can be used to control trace size at startup git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-07tsan: add flag to suppress all reports (useful for benchmarking)Dmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167532 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-02[Sanitizer] Use kStderrFd constant instead of hardcoded 2Alexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167291 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-13[TSan] Use interface attribute for weak functions that may be overriden by userAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163795 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-06[TSan] add support for running external symbolizer other than addr2line (for ↵Alexey Samsonov
testing purposes) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163297 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-16tsan: add flag to disable reporting of destruction of locked mutexes (some ↵Dmitry Vyukov
programs use that on a regular basis) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162024 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-25tsan: allow environment to override OnReport() and OverrideFlags()Dmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160728 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-09[Sanitizer] move flag parsing routines (and unit tests) from tsan runtime to ↵Alexey Samsonov
common runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159928 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-05tsan: Go language supportDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-05[TSan] add a new option 'use_internal_symbolizer' that allows to choose ↵Alexey Samsonov
between addr2line-based and llvm-based symbolizer w/o having to rebuild the runtime. This is hopefully a temporary solution that simplifies testing process. In the end, we should leave a single symbolizer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159730 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtimeDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159294 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-15[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc ↵Alexey Samsonov
implementations of functions. Move strchr to sanitizer_libc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-09[TSan] use efficient real_memcpy inside runtimeAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158260 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-08[TSan] s/internal_memset/real_memsetAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158200 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-06[Sanitizer] Move more functions/constants to sanitizer_common.Alexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158056 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-04Remove file-type tags in .cc files in tsan/ and sanitizer_common/Alexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157928 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-24tsan: add a flag to control RunningOnValgrind() return valueDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157383 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-22tsan: add shadow memory flush + fix few bugsDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157270 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-22tsan: simple memory profilerDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157248 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-17tsan: remove shutdown codeDmitry Vyukov
tsan runtime shutdown is problematic for 2 reasons: 1. others crash during shutdown 2. we have to override user exit status (don't know it and can't return from atexit handler) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156991 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-10[tsan] First commit of ThreadSanitizer (TSan) run-time library.Kostya Serebryany
Algorithm description: http://code.google.com/p/thread-sanitizer/wiki/ThreadSanitizerAlgorithm Status: The tool is known to work on large real-life applications, but still has quite a few rough edges. Nothing is guaranteed yet. The tool works on x86_64 Linux. Support for 64-bit MacOS 10.7+ is planned for late 2012. Support for 32-bit OSes is doable, but problematic and not yet planed. Further commits coming: - tests - makefiles - documentation - clang driver patch The code was previously developed at http://code.google.com/p/data-race-test/source/browse/trunk/v2/ by Dmitry Vyukov and Kostya Serebryany with contributions from Timur Iskhodzhanov, Alexander Potapenko, Alexey Samsonov and Evgeniy Stepanov. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8