| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 217559
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 214343
|
| |
|
|
|
|
| |
There is now a more common functionality in the form of called_from_lib suppressions.
llvm-svn: 213057
|
| |
|
|
| |
llvm-svn: 208841
|
| |
|
|
|
|
|
| |
+ fixes crashes due to races on symbolizer, see:
https://code.google.com/p/thread-sanitizer/issues/detail?id=55
llvm-svn: 207204
|
| |
|
|
|
|
| |
the first flags is to enable printing of the second stack per edge
llvm-svn: 204150
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 197014
|
| |
|
|
| |
llvm-svn: 192701
|
| |
|
|
| |
llvm-svn: 192692
|
| |
|
|
| |
llvm-svn: 191898
|
| |
|
|
|
|
| |
Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=29
llvm-svn: 191482
|
| |
|
|
|
|
| |
If halt_on_error==true, program terminates after reporting first error.
llvm-svn: 188279
|
| |
|
|
|
|
|
| |
(total count, unique, matched) if requested with print_benign=1
flag.
llvm-svn: 178245
|
| |
|
|
| |
llvm-svn: 178159
|
| |
|
|
| |
llvm-svn: 177638
|
| |
|
|
| |
llvm-svn: 174165
|
| |
|
|
| |
llvm-svn: 173910
|
| |
|
|
| |
llvm-svn: 170427
|
| |
|
|
| |
llvm-svn: 169019
|
| |
|
|
| |
llvm-svn: 168987
|
| |
|
|
| |
llvm-svn: 168789
|
| |
|
|
|
|
| |
remove old log_fileno
llvm-svn: 168788
|
| |
|
|
|
|
| |
introduces history_size parameter that can be used to control trace size at startup
llvm-svn: 168786
|
| |
|
|
| |
llvm-svn: 167532
|
| |
|
|
|
|
| |
testing purposes)
llvm-svn: 163297
|
| |
|
|
|
|
| |
programs use that on a regular basis)
llvm-svn: 162024
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 157383
|
| |
|
|
| |
llvm-svn: 157270
|
| |
|
|
| |
llvm-svn: 157248
|
| |
|
|
|
|
|
|
| |
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
|
|
|
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
|