History log of /external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8354faeec647dc5b420726fa61616189392d5045 17-May-2013 Dmitry Vyukov <dvyukov@google.com> tsan: introduce recursive mutex lock/unlock java interface
this is required to handle Object.Wait()


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182088 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
2bbd8bec77c2fdb41c5f5b6cb0d83d22bc576650 15-Mar-2013 Alexey Samsonov <samsonov@google.com> [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
3285866e45a8521c56ba6209daf3c9f91f844fd3 01-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: even if races between atomic and plain memory accesses are turned off (report_atomic_races=0),
still report races between atomic accesses and free().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
334553ec45d8982df45a6f5e656e068142ecde3f 01-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: detect races between plain and atomic memory accesses


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
fb917e9069ea44f7103f50c658be84a8f66de56c 14-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: describe stack and TLS addresses


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
ad9da372f962495b3487685232d09390be841b1c 06-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add mutexsets to reports
With this change reports say what mutexes the threads hold around the racy memory accesses.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
385542a2e83a4f37de4232d6c72097c1b7d6d44b 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: move traces from tls into dedicated storage at fixed address
helps to reduce tls size (it's weird to have multi-MB tls)
will help with dynamically adjustable trace size


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
538f1ba8cb57cfa02d25f8f922feb00975e0a286 07-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: more precise handling of finalizers


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
b1fe3021eca0843e37878d224ee7f32e32f40d99 02-Nov-2012 Alexey Samsonov <samsonov@google.com> [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
158c6ac3bb46753db217f9c2c73485811a3a1890 05-Oct-2012 Dmitry Vyukov <dvyukov@google.com> tsan: cache pc's that cause suppressions (this way we do not need to symbolize the reports)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
0c2feef1067818db0ede4531a2e71c9b5595d57a 07-Sep-2012 Dmitry Vyukov <dvyukov@google.com> tsan: ignore destruction of global mutexes (causes a lot of non-interesting reports)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
1da1056127d1dbcacdd035eb4149257848f7c4df 01-Sep-2012 Dmitry Vyukov <dvyukov@google.com> tsan: better diagnostics for mutex misuse


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
9adce675d5978dc8c584bafe724208bbab4ae72a 31-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix crash when users pass insane mutex addresses in dynamic annotations


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163016 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
848531192777acecf79747dc7c1ffeedf5c1da9f 31-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add "as if synchronized via sleep" feature


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
c00e30a77a2993bed741c00628b1e034ce01e44d 31-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: slightly optimize mutex unlock


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162995 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
55e711ed818d7553d62eba4b3a2fad3e2723f697 18-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: proper handling of linker initialized mutexes


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
fd513907acd3e2eaa02070edaa24df66648dc2ac 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add flag to disable reporting of destruction of locked mutexes (some programs use that on a regular basis)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162024 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
332c62b52b3603be872b28bd3ea5e739aa28cd05 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: better diagnostics for destroy of a locked mutex + a test


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
2e933fc077595b18de37d2ed44e8f14c6053a432 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: support for linker initializer mutexes with static storage duration


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
c20e9ba760a93706c9160133cdcce62194f9694f 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: implement RWLOCK annotations


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
9d150bdb433ddd092073dabd87ba15aa176603a1 28-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add ReleaseStore() function that merely copies vector clock rather than combines two clocks
fix clock setup for finalizer goroutine (Go runtime)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
e954101f6602ac181a2c3accfbbad0ae51b0bf7c 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
67a64dd8259fdbd867633b27f54d584f435f1ce6 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] run some renaming as a preparation for factoring out Printf implementation.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
603c4be006d8c53905d736bf1f19a49f5ce98276 04-Jun-2012 Alexey Samsonov <samsonov@google.com> Remove file-type tags in .cc files in tsan/ and sanitizer_common/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
7ac41484ea322e0ea5774df681660269f5dc321e 10-May-2012 Kostya Serebryany <kcc@google.com> [tsan] First commit of ThreadSanitizer (TSan) run-time library.

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.




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc