summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: add ReleaseStore() function that merely copies vector clock rather ↵Dmitry Vyukov2012-07-285-3/+29
| | | | | | | | than combines two clocks fix clock setup for finalizer goroutine (Go runtime) llvm-svn: 160918
* tasn: do not remember stack traces for sync objects for Go (they are not ↵Dmitry Vyukov2012-07-271-0/+2
| | | | | | reported anyway) llvm-svn: 160861
* tsan: remove unnecessary and wrong includeDmitry Vyukov2012-07-271-1/+0
| | | | llvm-svn: 160860
* tsan: allow environment to override OnReport() and OverrideFlags()Dmitry Vyukov2012-07-252-3/+11
| | | | llvm-svn: 160728
* tsan: suport for Go finalizersDmitry Vyukov2012-07-254-0/+12
| | | | llvm-svn: 160723
* tsan: align report style with Go internal formatDmitry Vyukov2012-07-241-2/+2
| | | | llvm-svn: 160672
* tsan: output goroutine creation stackDmitry Vyukov2012-07-241-0/+10
| | | | llvm-svn: 160670
* [TSan] fix confusing error message in CheckFailedAlexey Samsonov2012-07-181-1/+2
| | | | llvm-svn: 160435
* [TSan] cleanup header commentsAlexey Samsonov2012-07-173-3/+3
| | | | llvm-svn: 160359
* tsan: use dynamic shadow stack for GoDmitry Vyukov2012-07-167-6/+42
| | | | llvm-svn: 160288
* tsan: increase number of dead threads for GoDmitry Vyukov2012-07-161-0/+4
| | | | llvm-svn: 160283
* tsan: fix buildDmitry Vyukov2012-07-162-0/+8
| | | | llvm-svn: 160267
* tsan: port Go runtime to DarwinDmitry Vyukov2012-07-162-5/+111
| | | | llvm-svn: 160266
* [tsan] use internal_strnlen in strncpy interceptor (the bug found while ↵Kostya Serebryany2012-07-131-1/+1
| | | | | | booting chromium) llvm-svn: 160171
* [Sanitizer] move flag parsing routines (and unit tests) from tsan runtime to ↵Alexey Samsonov2012-07-091-90/+17
| | | | | | common runtime. llvm-svn: 159928
* tsan: Go language support fixesDmitry Vyukov2012-07-062-2/+6
| | | | llvm-svn: 159856
* tsan: Go lang: symbolize stack tracesDmitry Vyukov2012-07-062-0/+31
| | | | llvm-svn: 159827
* tsan: Go language supportDmitry Vyukov2012-07-058-34/+100
| | | | llvm-svn: 159754
* [TSan] add a new option 'use_internal_symbolizer' that allows to choose ↵Alexey Samsonov2012-07-055-12/+91
| | | | | | between addr2line-based and llvm-based symbolizer w/o having to rebuild the runtime. This is hopefully a temporary solution that simplifies testing process. In the end, we should leave a single symbolizer. llvm-svn: 159730
* tsan/asan: unify ScopedLockDmitry Vyukov2012-06-292-41/+3
| | | | llvm-svn: 159438
* tsan/asan: unify atomics (move atomics from tsan to sanitizer_common)Dmitry Vyukov2012-06-296-162/+5
| | | | llvm-svn: 159437
* tsan: replace struct copies where clang inserts memcpy() calls with explicit ↵Dmitry Vyukov2012-06-291-5/+6
| | | | | | internal_memcpy() calls llvm-svn: 159431
* tsan: remove own memset/memcpy/memcmp (too messy)Dmitry Vyukov2012-06-293-92/+11
| | | | llvm-svn: 159430
* tsan: clear shadow for ucontext, because it's visible to userDmitry Vyukov2012-06-281-0/+1
| | | | llvm-svn: 159365
* tsan: fix crashes if signal is caught during thread bootstrap or shutdownDmitry Vyukov2012-06-283-6/+17
| | | | llvm-svn: 159361
* tsan: add missing file (forgot to svn add in r159294)Dmitry Vyukov2012-06-281-0/+35
| | | | llvm-svn: 159341
* tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtimeDmitry Vyukov2012-06-279-98/+100
| | | | llvm-svn: 159294
* tsan: remember and pass original ucontext to signal handlers (instead of a ↵Dmitry Vyukov2012-06-271-5/+4
| | | | | | fabricated one) llvm-svn: 159278
* tsan: refactor signal handling code (move some definitions out of common header)Dmitry Vyukov2012-06-273-35/+66
| | | | llvm-svn: 159266
* tsan: check that signal handlers do not spoil errno.Dmitry Vyukov2012-06-273-1/+21
| | | | llvm-svn: 159264
* tsan: close all file descriptors after fork()Dmitry Vyukov2012-06-271-0/+2
| | | | llvm-svn: 159263
* tsan: remove internal allocator, switch to sanitizer_common one.Dmitry Vyukov2012-06-253-80/+3
| | | | llvm-svn: 159141
* tsan: do not call malloc/free in memory access handling routine.Dmitry Vyukov2012-06-227-8/+51
| | | | | | This improves signal-/fork-safety of instrumented programs. llvm-svn: 158988
* [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to ↵Alexey Samsonov2012-06-193-9/+9
| | | | | | sanitizer libc) llvm-svn: 158710
* [TSan] Add a comment that tsan_flags.h may be included in the user code, and ↵Alexey Samsonov2012-06-191-1/+7
| | | | | | therefore shouldn't include other headers from TSan or common sanitizer runtime. User may need tsan_flags.h to provide its implementation of __tsan::OverrideFlags llvm-svn: 158708
* [TSan] kill some linux-specific code in favor of code in common runtime: ↵Alexey Samsonov2012-06-181-78/+16
| | | | | | reuse wrappers for mmap routines, ProcessMaps iterator, thread stack calculation llvm-svn: 158657
* [Sanitizer] move different wrappers from TSan to common sanitizer runtimeAlexey Samsonov2012-06-185-22/+7
| | | | llvm-svn: 158655
* [Sanitizer] move all the rest re-implementations of libc functions from ASan ↵Alexey Samsonov2012-06-151-1/+0
| | | | | | runtime to common sanitizer runtime llvm-svn: 158519
* [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc ↵Alexey Samsonov2012-06-1511-59/+34
| | | | | | implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
* tsan: fix COMPAT mapping to not produce false reportsDmitry Vyukov2012-06-142-0/+13
| | | | llvm-svn: 158473
* [Sanitizer] Move internal_memcmp to common sanitizer libcAlexey Samsonov2012-06-142-5/+0
| | | | llvm-svn: 158450
* [TSan] use efficient real_memcpy inside runtimeAlexey Samsonov2012-06-099-12/+17
| | | | llvm-svn: 158260
* [Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/Alexey Samsonov2012-06-082-5/+0
| | | | llvm-svn: 158202
* [TSan] s/internal_memset/real_memsetAlexey Samsonov2012-06-085-9/+9
| | | | llvm-svn: 158200
* [Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make ↵Alexey Samsonov2012-06-073-16/+4
| | | | | | internal allocations from TSan runtime call InternalAlloc from common runtime llvm-svn: 158148
* [Sanitizer] move placement_new definiton from TSan to common runtimeAlexey Samsonov2012-06-078-31/+7
| | | | llvm-svn: 158145
* [Sanitizer] Use common CHECK machinery. Currently each tool has to define ↵Alexey Samsonov2012-06-062-27/+12
| | | | | | its own CheckFailed function. llvm-svn: 158075
* [Sanitizer] Remove __attribute__((format))Alexey Samsonov2012-06-061-1/+1
| | | | llvm-svn: 158070
* [Sanitizer]: Introduce a common internal printf function. For now, also use ↵Alexey Samsonov2012-06-0614-178/+70
| | | | | | 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-0615-109/+114
| | | | | | implementation. llvm-svn: 158058
OpenPOWER on IntegriCloud