Kostya Serebryany
|
b86b56c0db
|
[tsan] one more test for deadlock detector
llvm-svn: 202476
|
2014-02-28 09:17:16 +00:00 |
Dmitry Vyukov
|
a12923e265
|
tsan: intercept vfork
this fixes obscure false positives
see the comments and the test for details
llvm-svn: 202400
|
2014-02-27 14:36:16 +00:00 |
Dmitry Vyukov
|
17ca4d06c7
|
tsan: 2 more deadlock detector benchmarks
llvm-svn: 202379
|
2014-02-27 12:05:17 +00:00 |
Dmitry Vyukov
|
8a0813d944
|
tsan: fix deadlock detector lit test output
llvm-svn: 202368
|
2014-02-27 09:18:08 +00:00 |
Dmitry Vyukov
|
511118c762
|
tsan: add another deadlock detector benchmark
llvm-svn: 202366
|
2014-02-27 09:05:07 +00:00 |
Dmitry Vyukov
|
794500ae4e
|
tsan: add recursive deadlock detector benchmark
llvm-svn: 202361
|
2014-02-27 08:33:52 +00:00 |
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 |
Alexey Samsonov
|
5e6d83258e
|
[CMake] lit tests shouldn't depend on runtimes in standalone build
llvm-svn: 201771
|
2014-02-20 09:47:18 +00:00 |
Alexey Samsonov
|
31043152d3
|
Add rudimentary support for running compiler-rt lit tests with GCC
llvm-svn: 201680
|
2014-02-19 15:13:14 +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 |
Alexey Samsonov
|
cd8535a96d
|
[CMake] Introduce COMPILER_RT_INCLUDE_TESTS option
llvm-svn: 201666
|
2014-02-19 11:18:47 +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 |
Alexey Samsonov
|
1c9b9bcb5c
|
Simplify defining Clang compile flags in lit configs
llvm-svn: 201513
|
2014-02-17 13:08:10 +00:00 |
Alexey Samsonov
|
e6a6183e9b
|
Move TSan lit-tests under test/tsan
llvm-svn: 201414
|
2014-02-14 14:35:48 +00:00 |