History log of /external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d763c0d3700e73b3aead8e65e04ec28efc56138 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

(cherry picked from commit 799172d60d32feb1acba1a6867f3a9c39a999e5c)

Change-Id: I0362e411c56dbd5a7a10f9ca1f2ad33a40c8abd4
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
7c9150579ed0278492f51cc8434b1d63a44b9bd1 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r233350

Change-Id: I5f20256ce73ec7b5956f742b4062f850bf11b667
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
86277eb844c4983c81de62d7c050e92fe7155788 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r230699.

Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
6d1862363c88c183b0ed7740fca876342cf0474b 27-Nov-2014 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r222486.

Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
6a211c5814e25d6745a5058cc0e499e5235d3821 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
01a7ce809bf7cc627d73c045c70bcca9891f632c 16-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move shadow stack from thread descriptors to fixed addresses

This allows to increase max shadow stack size to 64K,
and reliably catch shadow stack overflows instead of silently
corrupting memory.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
e1ddbf9a458e81125a03fea721997565124294ae 10-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add annotations to ignore synchronization operations

The annotations are AnnotateIgnoreSyncBegin/End,
may be useful to ignore some infrastructure synchronization
that introduces lots of false negatives.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
48cd12d0398914db195c1a25852b153f3345090d 06-Jun-2013 Dmitry Vyukov <dvyukov@google.com> tsan: use memory access size for Go after all
helps to make range access functions correct and fast


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
dc563c0efbba5aec49b20a4d74e020feb75d7e8a 21-May-2013 Dmitry Vyukov <dvyukov@google.com> tsan: detect when a thread ends with ignores enabled


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
4536cb1fa7734133f404acb413589d7a6d314f4a 21-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: better reporting of thread leaks
1. do not report running threads as leaks
2. aggregate leaked threads by creation stack



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
82dbc5195ceedba0e1a9aab92d436614cc4b7ff9 20-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: special handling of .rodata (don't try to find races, don't keep shadow, dont' put into traces)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
9743d74426ae43898e4da55e591b09be18f8aa6e 20-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move trace header into 0x600000000000 range
eliminat thread "dead info" altogether



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
ce85e03620f64ce7e4cd0598f2e93090f52a9e99 19-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: flush dead thread info earlier (when another thread is finished rather than new thread is created)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
b186c1905d471243cf2981ca754397bc16976392 19-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix memory leak



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
74172de3ce25bf52d9d3918c94216f2eef5956e2 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: touch less shadow memory during operations on big memory ranges
greatly reduces memory consumption



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177289 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
7ac33ac529ff93a57419f5ddf71b1fde68428577 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: mark shadow for thread stack as "don't need" when thread exits



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
6af642eaf764434ac6f28f242e7f081156bce9e3 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix clang -Wall build
Clang does not like classes with virtual functions but w/o virtual dtor.
Go does not like libstdc++ (operator delete).



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
036f9336f7cc7e755287a317f71a7bec7534a7f7 18-Mar-2013 Alexey Samsonov <samsonov@google.com> [TSan] re-apply r177249 lost in edits

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177265 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
46b4a861a5903ca8c92916b25257b3b0a7f8bf39 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix memory leak


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
2c5284e0f87e101e177a151fae5f557bcf6f664c 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: use StackDepot for thread creation stacks


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
491852ecf05d927cf543292ded98dcc545799b4d 18-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix Go build


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
ffa4e08ab009e38ab1bf9dadf49628a9e8492ea0 18-Mar-2013 Alexey Samsonov <samsonov@google.com> [TSan] fix undefined variable in debug TSan build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.cc
eaa0190fc9a510a621d871becce0536950c5468d 13-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: do not imitate memory write on malloc() (Go)
better memory range access functions (put only 1 event to trace) (Go)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.cc
bdd844cb41718c27ef727a99a236191bc29a3df8 24-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: implement malloc stats querying


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
da3503782901d30bd6e48885055b51b38cf5126c 17-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: say what thread had created a thread in reports


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.cc
aecf2e5756c6a0de7c146bef67a6e338c7017d55 04-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: output thread names



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
0415ac00935795a70d87ae662ccad58ea0704537 04-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix trace handling when trace is reused between threads


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
d698edc4f74a17048eef3342a9fa42b3ebba802a 28-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: dynamic history size
introduces history_size parameter that can be used to control trace size at startup


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.cc
bd9f4963dd50f2fe66ba47a74776dc2665f84d7d 15-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: remove unused parameter


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
54e0a9a391616bbd2a4f0fd2d01076291274cb98 07-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: do not sleep at exit if there are no other threads


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.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_thread.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_thread.cc
e0023f74ea88efee329f68391b70f8adc6b21617 02-Oct-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix mac build


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
7dccf3f92a867f917ad19f9a6b37bcf93e64b35b 02-Oct-2012 Dmitry Vyukov <dvyukov@google.com> tsan: output tid's in reports


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
ff35f1d82b4f145b3477ef27a7a2e7b63c486988 30-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: use stack depot to describe heap blocks


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
bbbb20b7212155ebc5b5b4ee1c68c987dcf30320 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: improve Go report format + fix build


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
2e87051d136db3150a3ca322d8862f92b0a684bb 15-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: switch to new allocator


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.cc
8f1104cbf1af615242e14c66d1b3dd9e8437b152 25-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: suport for Go finalizers


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160723 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
25d1c799087af5757ab6efc4a77558565fb1744a 16-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: use dynamic shadow stack for Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
e716b602e8066ede297b5e0be4d23720c26cdcf9 16-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: increase number of dead threads for Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
b78caa645f70eff2f037f1f8bb43ca9129dbd8d9 05-Jul-2012 Dmitry Vyukov <dvyukov@google.com> tsan: Go language support


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
1fc03d50a87302689482efa24b045a393097b6c3 28-Jun-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix crashes if signal is caught during thread bootstrap or shutdown


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
d51a1a10cba87be50e9ada9fa21337c387edb237 27-Jun-2012 Dmitry Vyukov <dvyukov@google.com> tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtime


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
88207ab15125e2f1e9b3d541b735b2b8aba9b6d9 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
98c8780c22685af63c57ce5312a9ed730ee3408d 09-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] use efficient real_memcpy inside runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
47b1634df012507799eb39aa17d4022d748ba67b 07-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] move placement_new definiton from TSan to common runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.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_thread.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_thread.cc
411b2c9d6787b64939fc15fdeec65e9d65ba1a51 28-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: fix race during pthread_join/detach


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
af154b815bbd793874b4cd05be98d571b6579272 28-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: do not clean stack/tls for main thread


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
789b6c5669547b550034fc9888059b17e2ff1417 25-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: do not call into libc in symbolizer and in other code (this causes recursion and crashes)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
adfb65039646774f0f063b538f8fb0aec021f42b 22-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add shadow memory flush + fix few bugs


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157270 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
9d2ffc2ee08216f8fad9b1bd267d1f112e0d2f01 22-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: reduce per-thread memory usage


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
b7b6b1cd9df0c954b1f890fcebf373db984923b3 17-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: remove shutdown code
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)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
3d6ae1580e5f34f02d24ff0c8bb352a5026c327a 11-May-2012 Kostya Serebryany <kcc@google.com> [tsan] run more kinds of builds as presubmit test (and fix gcc debug build)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.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_thread.cc