summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector_interface.h
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10Kuba Brecka2016-05-211-1/+1
| | | | | | | | In one of the already existing apps that I'm testing TSan on, I really see a mutex path that is longer than 10 (but not by much, something like 11-13 actually). Let's raise this to 20 and weaken the assertion so we don't crash. Differential Revision: http://reviews.llvm.org/D20427 llvm-svn: 270319
* [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in ↵Kostya Serebryany2015-09-291-3/+3
| | | | | | lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko llvm-svn: 248816
* [sanitizer] print threads in deadlock reportKostya Serebryany2014-03-211-0/+1
| | | | llvm-svn: 204461
* tsan: deadlock detector: add deadlock detector flagsDmitry Vyukov2014-03-181-1/+5
| | | | | | the first flags is to enable printing of the second stack per edge llvm-svn: 204150
* [sanitizer] make the deadlock detector print 2*N stack traces on ↵Kostya Serebryany2014-03-171-2/+2
| | | | | | lock-order-inversion with N locks (i.e. print stack traces for both lock acquisitions in every edge in the graph). More improvements to follow llvm-svn: 204042
* [sanitizer] fix build warnings; add an output test for the deadlock detecorKostya Serebryany2014-03-171-1/+2
| | | | llvm-svn: 204035
* tsan: fix deadlock detector build for SANITIZER_DEADLOCK_DETECTOR_VERSION=2Dmitry Vyukov2014-03-051-1/+1
| | | | llvm-svn: 202977
* tsan: implement new version of standalong deadlock detectorDmitry Vyukov2014-03-051-12/+31
| | | | | | | intercept pthread_cond (it is required to properly track state of mutexes) detect cycles in mutex graph llvm-svn: 202975
* tsan: add dynamic library target for standalone deadlock detectorDmitry Vyukov2014-03-041-0/+2
| | | | | | it's LD_PRELOAD-able llvm-svn: 202843
* tsan: refactor deadlock detectorDmitry Vyukov2014-02-281-0/+66
Introduce DDetector interface between the tool and the DD itself. It will help to experiment with other DD implementation, as well as reuse DD in other tools. llvm-svn: 202485
OpenPOWER on IntegriCloud