Dmitry Vyukov
|
c546943b6a
|
tsan: improve deadlock detector test
- allow to specify which test to run
- allow to specify number of iterations
- specify number of threads required in the test itself
llvm-svn: 202358
|
2014-02-27 08:04:20 +00:00 |
Dmitry Vyukov
|
0f34a3ba8c
|
tsan: fix deadlock detector test so that it does not force contention in runtime
llvm-svn: 202278
|
2014-02-26 17:06:58 +00:00 |
Kostya Serebryany
|
67968cbf93
|
[sanitizer] minimal support for recursive locks indeadlock detector
llvm-svn: 202153
|
2014-02-25 14:02:01 +00:00 |
Alexey Samsonov
|
98aa08c0e9
|
Update sanitizers' bash scripts.
* Fix bash scripts to work on FreeBSD (patch by Viktor Kutuzov)
* Update locations of lit tests in check_lint script.
llvm-svn: 202145
|
2014-02-25 12:09:25 +00:00 |
Kostya Serebryany
|
01be296dbb
|
[sanitizer] support pthread_rwlock_rd* in deadlock detector
llvm-svn: 202132
|
2014-02-25 10:33:37 +00:00 |
Kostya Serebryany
|
fd88edfddb
|
[sanitizer] partially support pthread_rwlock_* (no rd* form yet)
llvm-svn: 202128
|
2014-02-25 09:33:10 +00:00 |
Kostya Serebryany
|
8f240ec03f
|
[tsan] add deadlock detector tests for pthread_spin_lock
llvm-svn: 202123
|
2014-02-25 08:42:34 +00:00 |
Kostya Serebryany
|
11f4f30fa7
|
[sanitizer] add support for try_lock in deadlock detector
llvm-svn: 202120
|
2014-02-25 08:24:15 +00:00 |
Kostya Serebryany
|
d77dfcb384
|
[tsan] one more test for deadlock detector
llvm-svn: 202026
|
2014-02-24 11:45:47 +00:00 |
Kostya Serebryany
|
0548c79859
|
[tsan] add coarse-grained lock around the DeadlockDetector. We can do better than that, but that's a start.
llvm-svn: 201861
|
2014-02-21 15:07:18 +00:00 |
Kostya Serebryany
|
699b975014
|
[tsan] improve the test that checks for lock inversion with 3 locks
llvm-svn: 201676
|
2014-02-19 14:24:31 +00:00 |
Kostya Serebryany
|
b51f8d4990
|
[tsan] when printing a mutex, also print its address. Properly print the deadlock report.
llvm-svn: 201675
|
2014-02-19 14:17:25 +00:00 |
Kostya Serebryany
|
37ce26cb16
|
[sanitizer] when reporting a deadlock also report the lock cycle
llvm-svn: 201576
|
2014-02-18 14:56:19 +00:00 |
Kostya Serebryany
|
bd86a29a2a
|
[sanitizer] make sure the deadlock detector survives the change of epochs; add a test and a comment
llvm-svn: 201572
|
2014-02-18 13:41:49 +00:00 |
Kostya Serebryany
|
aa416c39cd
|
[tsan] in deadlock detector do not register locks on their creation and unregister them on destruction; added a relevant test
llvm-svn: 201568
|
2014-02-18 12:50:31 +00:00 |
Kostya Serebryany
|
67bf8bd124
|
[tsan] one more lit test for deadlock detector; more to come
llvm-svn: 201554
|
2014-02-18 09:08:03 +00:00 |