summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: use memory access size for Go after allDmitry Vyukov2013-06-061-21/+0
| | | | | | helps to make range access functions correct and fast llvm-svn: 183418
* tsan: detect when a thread ends with ignores enabledDmitry Vyukov2013-05-211-0/+9
| | | | llvm-svn: 182354
* tsan: better reporting of thread leaksDmitry Vyukov2013-03-211-10/+28
| | | | | | | 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack llvm-svn: 177647
* tsan: special handling of .rodata (don't try to find races, don't keep ↵Dmitry Vyukov2013-03-201-0/+7
| | | | | | shadow, dont' put into traces) llvm-svn: 177517
* tsan: move trace header into 0x600000000000 rangeDmitry Vyukov2013-03-201-13/+6
| | | | | | eliminat thread "dead info" altogether llvm-svn: 177512
* tsan: flush dead thread info earlier (when another thread is finished rather ↵Dmitry Vyukov2013-03-191-4/+3
| | | | | | than new thread is created) llvm-svn: 177394
* tsan: fix memory leakDmitry Vyukov2013-03-191-0/+1
| | | | llvm-svn: 177387
* tsan: touch less shadow memory during operations on big memory rangesDmitry Vyukov2013-03-181-3/+4
| | | | | | greatly reduces memory consumption llvm-svn: 177289
* tsan: mark shadow for thread stack as "don't need" when thread exitsDmitry Vyukov2013-03-181-12/+4
| | | | llvm-svn: 177288
* tsan: fix clang -Wall buildDmitry Vyukov2013-03-181-0/+5
| | | | | | | Clang does not like classes with virtual functions but w/o virtual dtor. Go does not like libstdc++ (operator delete). llvm-svn: 177267
* [TSan] re-apply r177249 lost in editsAlexey Samsonov2013-03-181-1/+2
| | | | llvm-svn: 177265
* tsan: fix memory leakDmitry Vyukov2013-03-181-0/+1
| | | | llvm-svn: 177262
* tsan: use StackDepot for thread creation stacksDmitry Vyukov2013-03-181-0/+4
| | | | llvm-svn: 177261
* tsan: fix Go buildDmitry Vyukov2013-03-181-14/+16
| | | | llvm-svn: 177260
* [TSan] fix undefined variable in debug TSan buildAlexey Samsonov2013-03-181-1/+2
| | | | llvm-svn: 177249
* [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_commonAlexey Samsonov2013-03-151-223/+140
| | | | llvm-svn: 177154
* tsan: do not imitate memory write on malloc() (Go)Dmitry Vyukov2013-02-131-0/+22
| | | | | | better memory range access functions (put only 1 event to trace) (Go) llvm-svn: 175056
* tsan: detect races between plain and atomic memory accessesDmitry Vyukov2013-02-011-19/+3
| | | | llvm-svn: 174163
* tsan: implement malloc stats queryingDmitry Vyukov2013-01-241-1/+4
| | | | llvm-svn: 173332
* tsan: say what thread had created a thread in reportsDmitry Vyukov2012-12-171-0/+1
| | | | llvm-svn: 170346
* tsan: add mutexsets to reportsDmitry Vyukov2012-12-061-0/+1
| | | | | | With this change reports say what mutexes the threads hold around the racy memory accesses. llvm-svn: 169493
* tsan: output thread namesDmitry Vyukov2012-12-041-0/+20
| | | | llvm-svn: 169279
* tsan: fix trace handling when trace is reused between threadsDmitry Vyukov2012-12-041-2/+6
| | | | llvm-svn: 169259
* tsan: dynamic history sizeDmitry Vyukov2012-11-281-2/+2
| | | | | | introduces history_size parameter that can be used to control trace size at startup llvm-svn: 168786
* tsan: move traces from tls into dedicated storage at fixed addressDmitry Vyukov2012-11-281-5/+5
| | | | | | | helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size llvm-svn: 168783
* tsan: remove unused parameterDmitry Vyukov2012-11-151-3/+3
| | | | llvm-svn: 168060
* tsan: do not sleep at exit if there are no other threadsDmitry Vyukov2012-11-071-0/+17
| | | | llvm-svn: 167533
* tsan: more precise handling of finalizersDmitry Vyukov2012-11-071-4/+0
| | | | llvm-svn: 167530
* [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_commonAlexey Samsonov2012-11-021-7/+7
| | | | llvm-svn: 167294
* tsan: cache pc's that cause suppressions (this way we do not need to ↵Dmitry Vyukov2012-10-051-1/+1
| | | | | | symbolize the reports) llvm-svn: 165317
* tsan: fix mac buildDmitry Vyukov2012-10-021-1/+1
| | | | llvm-svn: 165004
* tsan: output tid's in reportsDmitry Vyukov2012-10-021-1/+2
| | | | llvm-svn: 164998
* tsan: use stack depot to describe heap blocksDmitry Vyukov2012-08-301-2/+3
| | | | llvm-svn: 162902
* tsan: improve Go report format + fix buildDmitry Vyukov2012-08-161-0/+2
| | | | llvm-svn: 162042
* tsan: switch to new allocatorDmitry Vyukov2012-08-151-0/+1
| | | | llvm-svn: 161953
* tsan: add ReleaseStore() function that merely copies vector clock rather ↵Dmitry Vyukov2012-07-281-1/+1
| | | | | | | | than combines two clocks fix clock setup for finalizer goroutine (Go runtime) llvm-svn: 160918
* tsan: suport for Go finalizersDmitry Vyukov2012-07-251-0/+4
| | | | llvm-svn: 160723
* tsan: use dynamic shadow stack for GoDmitry Vyukov2012-07-161-0/+8
| | | | llvm-svn: 160288
* tsan: increase number of dead threads for GoDmitry Vyukov2012-07-161-0/+4
| | | | llvm-svn: 160283
* tsan: Go language supportDmitry Vyukov2012-07-051-11/+15
| | | | llvm-svn: 159754
* tsan: fix crashes if signal is caught during thread bootstrap or shutdownDmitry Vyukov2012-06-281-0/+2
| | | | llvm-svn: 159361
* tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtimeDmitry Vyukov2012-06-271-1/+1
| | | | llvm-svn: 159294
* [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc ↵Alexey Samsonov2012-06-151-1/+1
| | | | | | implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
* [TSan] use efficient real_memcpy inside runtimeAlexey Samsonov2012-06-091-1/+1
| | | | llvm-svn: 158260
* [Sanitizer] move placement_new definiton from TSan to common runtimeAlexey Samsonov2012-06-071-1/+1
| | | | llvm-svn: 158145
* [Sanitizer]: Introduce a common internal printf function. For now, also use ↵Alexey Samsonov2012-06-061-11/+11
| | | | | | 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). llvm-svn: 158065
* [TSan] run some renaming as a preparation for factoring out Printf ↵Alexey Samsonov2012-06-061-7/+8
| | | | | | implementation. llvm-svn: 158058
* Remove file-type tags in .cc files in tsan/ and sanitizer_common/Alexey Samsonov2012-06-041-1/+1
| | | | llvm-svn: 157928
* tsan: fix race during pthread_join/detachDmitry Vyukov2012-05-281-7/+12
| | | | llvm-svn: 157584
* tsan: do not clean stack/tls for main threadDmitry Vyukov2012-05-281-11/+13
| | | | llvm-svn: 157566
OpenPOWER on IntegriCloud