Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tsan: add ReleaseStore() function that merely copies vector clock rather ↵ | Dmitry Vyukov | 2012-07-28 | 5 | -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 Vyukov | 2012-07-27 | 1 | -0/+2 | |
| | | | | | | reported anyway) llvm-svn: 160861 | |||||
* | tsan: remove unnecessary and wrong include | Dmitry Vyukov | 2012-07-27 | 1 | -1/+0 | |
| | | | | llvm-svn: 160860 | |||||
* | tsan: allow environment to override OnReport() and OverrideFlags() | Dmitry Vyukov | 2012-07-25 | 2 | -3/+11 | |
| | | | | llvm-svn: 160728 | |||||
* | tsan: suport for Go finalizers | Dmitry Vyukov | 2012-07-25 | 4 | -0/+12 | |
| | | | | llvm-svn: 160723 | |||||
* | tsan: align report style with Go internal format | Dmitry Vyukov | 2012-07-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 160672 | |||||
* | tsan: output goroutine creation stack | Dmitry Vyukov | 2012-07-24 | 1 | -0/+10 | |
| | | | | llvm-svn: 160670 | |||||
* | [TSan] fix confusing error message in CheckFailed | Alexey Samsonov | 2012-07-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 160435 | |||||
* | [TSan] cleanup header comments | Alexey Samsonov | 2012-07-17 | 3 | -3/+3 | |
| | | | | llvm-svn: 160359 | |||||
* | tsan: use dynamic shadow stack for Go | Dmitry Vyukov | 2012-07-16 | 7 | -6/+42 | |
| | | | | llvm-svn: 160288 | |||||
* | tsan: increase number of dead threads for Go | Dmitry Vyukov | 2012-07-16 | 1 | -0/+4 | |
| | | | | llvm-svn: 160283 | |||||
* | tsan: fix build | Dmitry Vyukov | 2012-07-16 | 2 | -0/+8 | |
| | | | | llvm-svn: 160267 | |||||
* | tsan: port Go runtime to Darwin | Dmitry Vyukov | 2012-07-16 | 2 | -5/+111 | |
| | | | | llvm-svn: 160266 | |||||
* | [tsan] use internal_strnlen in strncpy interceptor (the bug found while ↵ | Kostya Serebryany | 2012-07-13 | 1 | -1/+1 | |
| | | | | | | booting chromium) llvm-svn: 160171 | |||||
* | [Sanitizer] move flag parsing routines (and unit tests) from tsan runtime to ↵ | Alexey Samsonov | 2012-07-09 | 1 | -90/+17 | |
| | | | | | | common runtime. llvm-svn: 159928 | |||||
* | tsan: Go language support fixes | Dmitry Vyukov | 2012-07-06 | 2 | -2/+6 | |
| | | | | llvm-svn: 159856 | |||||
* | tsan: Go lang: symbolize stack traces | Dmitry Vyukov | 2012-07-06 | 2 | -0/+31 | |
| | | | | llvm-svn: 159827 | |||||
* | tsan: Go language support | Dmitry Vyukov | 2012-07-05 | 8 | -34/+100 | |
| | | | | llvm-svn: 159754 | |||||
* | [TSan] add a new option 'use_internal_symbolizer' that allows to choose ↵ | Alexey Samsonov | 2012-07-05 | 5 | -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 ScopedLock | Dmitry Vyukov | 2012-06-29 | 2 | -41/+3 | |
| | | | | llvm-svn: 159438 | |||||
* | tsan/asan: unify atomics (move atomics from tsan to sanitizer_common) | Dmitry Vyukov | 2012-06-29 | 6 | -162/+5 | |
| | | | | llvm-svn: 159437 | |||||
* | tsan: replace struct copies where clang inserts memcpy() calls with explicit ↵ | Dmitry Vyukov | 2012-06-29 | 1 | -5/+6 | |
| | | | | | | internal_memcpy() calls llvm-svn: 159431 | |||||
* | tsan: remove own memset/memcpy/memcmp (too messy) | Dmitry Vyukov | 2012-06-29 | 3 | -92/+11 | |
| | | | | llvm-svn: 159430 | |||||
* | tsan: clear shadow for ucontext, because it's visible to user | Dmitry Vyukov | 2012-06-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 159365 | |||||
* | tsan: fix crashes if signal is caught during thread bootstrap or shutdown | Dmitry Vyukov | 2012-06-28 | 3 | -6/+17 | |
| | | | | llvm-svn: 159361 | |||||
* | tsan: add missing file (forgot to svn add in r159294) | Dmitry Vyukov | 2012-06-28 | 1 | -0/+35 | |
| | | | | llvm-svn: 159341 | |||||
* | tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtime | Dmitry Vyukov | 2012-06-27 | 9 | -98/+100 | |
| | | | | llvm-svn: 159294 | |||||
* | tsan: remember and pass original ucontext to signal handlers (instead of a ↵ | Dmitry Vyukov | 2012-06-27 | 1 | -5/+4 | |
| | | | | | | fabricated one) llvm-svn: 159278 | |||||
* | tsan: refactor signal handling code (move some definitions out of common header) | Dmitry Vyukov | 2012-06-27 | 3 | -35/+66 | |
| | | | | llvm-svn: 159266 | |||||
* | tsan: check that signal handlers do not spoil errno. | Dmitry Vyukov | 2012-06-27 | 3 | -1/+21 | |
| | | | | llvm-svn: 159264 | |||||
* | tsan: close all file descriptors after fork() | Dmitry Vyukov | 2012-06-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 159263 | |||||
* | tsan: remove internal allocator, switch to sanitizer_common one. | Dmitry Vyukov | 2012-06-25 | 3 | -80/+3 | |
| | | | | llvm-svn: 159141 | |||||
* | tsan: do not call malloc/free in memory access handling routine. | Dmitry Vyukov | 2012-06-22 | 7 | -8/+51 | |
| | | | | | | This improves signal-/fork-safety of instrumented programs. llvm-svn: 158988 | |||||
* | [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to ↵ | Alexey Samsonov | 2012-06-19 | 3 | -9/+9 | |
| | | | | | | sanitizer libc) llvm-svn: 158710 | |||||
* | [TSan] Add a comment that tsan_flags.h may be included in the user code, and ↵ | Alexey Samsonov | 2012-06-19 | 1 | -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 Samsonov | 2012-06-18 | 1 | -78/+16 | |
| | | | | | | reuse wrappers for mmap routines, ProcessMaps iterator, thread stack calculation llvm-svn: 158657 | |||||
* | [Sanitizer] move different wrappers from TSan to common sanitizer runtime | Alexey Samsonov | 2012-06-18 | 5 | -22/+7 | |
| | | | | llvm-svn: 158655 | |||||
* | [Sanitizer] move all the rest re-implementations of libc functions from ASan ↵ | Alexey Samsonov | 2012-06-15 | 1 | -1/+0 | |
| | | | | | | runtime to common sanitizer runtime llvm-svn: 158519 | |||||
* | [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc ↵ | Alexey Samsonov | 2012-06-15 | 11 | -59/+34 | |
| | | | | | | implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517 | |||||
* | tsan: fix COMPAT mapping to not produce false reports | Dmitry Vyukov | 2012-06-14 | 2 | -0/+13 | |
| | | | | llvm-svn: 158473 | |||||
* | [Sanitizer] Move internal_memcmp to common sanitizer libc | Alexey Samsonov | 2012-06-14 | 2 | -5/+0 | |
| | | | | llvm-svn: 158450 | |||||
* | [TSan] use efficient real_memcpy inside runtime | Alexey Samsonov | 2012-06-09 | 9 | -12/+17 | |
| | | | | llvm-svn: 158260 | |||||
* | [Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/ | Alexey Samsonov | 2012-06-08 | 2 | -5/+0 | |
| | | | | llvm-svn: 158202 | |||||
* | [TSan] s/internal_memset/real_memset | Alexey Samsonov | 2012-06-08 | 5 | -9/+9 | |
| | | | | llvm-svn: 158200 | |||||
* | [Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make ↵ | Alexey Samsonov | 2012-06-07 | 3 | -16/+4 | |
| | | | | | | internal allocations from TSan runtime call InternalAlloc from common runtime llvm-svn: 158148 | |||||
* | [Sanitizer] move placement_new definiton from TSan to common runtime | Alexey Samsonov | 2012-06-07 | 8 | -31/+7 | |
| | | | | llvm-svn: 158145 | |||||
* | [Sanitizer] Use common CHECK machinery. Currently each tool has to define ↵ | Alexey Samsonov | 2012-06-06 | 2 | -27/+12 | |
| | | | | | | its own CheckFailed function. llvm-svn: 158075 | |||||
* | [Sanitizer] Remove __attribute__((format)) | Alexey Samsonov | 2012-06-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 158070 | |||||
* | [Sanitizer]: Introduce a common internal printf function. For now, also use ↵ | Alexey Samsonov | 2012-06-06 | 14 | -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 Samsonov | 2012-06-06 | 15 | -109/+114 | |
| | | | | | | implementation. llvm-svn: 158058 |