summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_flags.h
Commit message (Collapse)AuthorAgeFilesLines
* [Sanitizer] Change the runtime flag representation.Alexey Samsonov2015-01-071-59/+6
| | | | | | | | | | | This mirrors r225239 to all the rest sanitizers: ASan, DFSan, LSan, MSan, TSan, UBSan. Now the runtime flag type, name, default value and description is located in the single place in the .inc file. llvm-svn: 225327
* [TSan] Use common flags in the same way as all the other sanitizersAlexey Samsonov2014-09-101-1/+1
| | | | llvm-svn: 217559
* [Sanitizer] Make "suppressions" and "print_suppressions" common runtime flags.Alexey Samsonov2014-07-301-4/+0
| | | | | | No functionality change. llvm-svn: 214343
* tsan: remove special handling of false reports coming from JVMDmitry Vyukov2014-07-151-3/+0
| | | | | | There is now a more common functionality in the form of called_from_lib suppressions. llvm-svn: 213057
* Fix typosAlp Toker2014-05-151-2/+2
| | | | llvm-svn: 208841
* tsan: better reports for "double lock of a mutex"Dmitry Vyukov2014-04-251-0/+2
| | | | | | | + fixes crashes due to races on symbolizer, see: https://code.google.com/p/thread-sanitizer/issues/detail?id=55 llvm-svn: 207204
* tsan: deadlock detector: add deadlock detector flagsDmitry Vyukov2014-03-181-1/+2
| | | | | | the first flags is to enable printing of the second stack per edge llvm-svn: 204150
* tsan: do not deadlock on forkDmitry Vyukov2014-01-241-0/+2
| | | | | | | | | | | | | Currently correct programs can deadlock after fork, because atomic operations and async-signal-safe calls are not async-signal-safe under tsan. With this change: - if a single-threaded program forks, the child continues running with verification enabled (the tsan background thread is recreated as well) - if a multi-threaded program forks, then the child runs with verification disabled (memory accesses, atomic operations and interceptors are disabled); it's expected that it will exec soon anyway - if the child tries to create more threads after multi-threaded fork, the program aborts with error message - die_after_fork flag is added that allows to continue running, but all bets are off http://llvm-reviews.chandlerc.com/D2614 llvm-svn: 199993
* [TSan] Replace __tsan::OverrideFlags with __tsan::OnInitializeAlexey Samsonov2013-12-111-6/+0
| | | | llvm-svn: 197014
* tsan: move verbosity flag to CommonFlagsDmitry Vyukov2013-10-151-2/+0
| | | | llvm-svn: 192701
* tsan: use sanitizer::CommonFlags in tsanDmitry Vyukov2013-10-151-11/+3
| | | | llvm-svn: 192692
* tsan: intercept _exit so that we can override exit statusDmitry Vyukov2013-10-031-0/+3
| | | | llvm-svn: 191898
* tsan: support allocator_may_return_null flagDmitry Vyukov2013-09-271-0/+2
| | | | | | Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=29 llvm-svn: 191482
* tsan/msan: add halt_on_error flagDmitry Vyukov2013-08-131-0/+2
| | | | | | If halt_on_error==true, program terminates after reporting first error. llvm-svn: 188279
* tsan: print statistics about benign race annotationsDmitry Vyukov2013-03-281-0/+2
| | | | | | | (total count, unique, matched) if requested with print_benign=1 flag. llvm-svn: 178245
* tsan: print matched suppressions if print_suppressions=1 flag is providedDmitry Vyukov2013-03-271-0/+2
| | | | llvm-svn: 178159
* tsan: add flag to control symbolizer flush frequencyDmitry Vyukov2013-03-211-0/+2
| | | | llvm-svn: 177638
* tsan: add flag to not report races between atomic and plain memory accessesDmitry Vyukov2013-02-011-0/+2
| | | | llvm-svn: 174165
* [Sanitizer] update style checker script and fix namespace style warningsAlexey Samsonov2013-01-301-1/+1
| | | | llvm-svn: 173910
* tsan: add io_sync flag that controls amount of IO synchronizationDmitry Vyukov2012-12-181-0/+5
| | | | llvm-svn: 170427
* tsan: suppress weird race reports when JVM is embed into the processDmitry Vyukov2012-11-301-0/+3
| | | | llvm-svn: 169019
* tsan: intercept mlock() because of the kernel bugDmitry Vyukov2012-11-301-1/+1
| | | | llvm-svn: 168987
* tsan: address several review commentsDmitry Vyukov2012-11-281-1/+1
| | | | llvm-svn: 168789
* tsan: add log_path parameter (similar to asan)Dmitry Vyukov2012-11-281-2/+4
| | | | | | remove old log_fileno llvm-svn: 168788
* tsan: dynamic history sizeDmitry Vyukov2012-11-281-0/+6
| | | | | | introduces history_size parameter that can be used to control trace size at startup llvm-svn: 168786
* tsan: add flag to suppress all reports (useful for benchmarking)Dmitry Vyukov2012-11-071-0/+2
| | | | llvm-svn: 167532
* [TSan] add support for running external symbolizer other than addr2line (for ↵Alexey Samsonov2012-09-061-2/+2
| | | | | | testing purposes) llvm-svn: 163297
* tsan: add flag to disable reporting of destruction of locked mutexes (some ↵Dmitry Vyukov2012-08-161-0/+2
| | | | | | programs use that on a regular basis) llvm-svn: 162024
* [TSan] add a new option 'use_internal_symbolizer' that allows to choose ↵Alexey Samsonov2012-07-051-0/+2
| | | | | | 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. llvm-svn: 159730
* [TSan] Add a comment that tsan_flags.h may be included in the user code, and ↵Alexey Samsonov2012-06-191-1/+7
| | | | | | therefore shouldn't include other headers from TSan or common sanitizer runtime. User may need tsan_flags.h to provide its implementation of __tsan::OverrideFlags llvm-svn: 158708
* tsan: add a flag to control RunningOnValgrind() return valueDmitry Vyukov2012-05-241-0/+2
| | | | llvm-svn: 157383
* tsan: add shadow memory flush + fix few bugsDmitry Vyukov2012-05-221-0/+4
| | | | llvm-svn: 157270
* tsan: simple memory profilerDmitry Vyukov2012-05-221-0/+2
| | | | llvm-svn: 157248
* tsan: remove shutdown codeDmitry Vyukov2012-05-171-1/+0
| | | | | | | | 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) llvm-svn: 156991
* [tsan] First commit of ThreadSanitizer (TSan) run-time library.Kostya Serebryany2012-05-101-0/+56
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. llvm-svn: 156542
OpenPOWER on IntegriCloud