Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tsan: do not allocate sync vars on relaxed atomic operations | Dmitry Vyukov | 2013-03-19 | 1 | -18/+26 | |
| | | | | | | helps to reduce memory consumption if an atomic is used only with relaxed ops (stats) llvm-svn: 177381 | |||||
* | tsan: smaller memory block headers (32b->16b) | Dmitry Vyukov | 2013-03-18 | 4 | -47/+139 | |
| | | | | llvm-svn: 177312 | |||||
* | tsan: add support for idle threads | Dmitry Vyukov | 2013-03-18 | 1 | -0/+5 | |
| | | | | llvm-svn: 177292 | |||||
* | tsan: touch less shadow memory during operations on big memory ranges | Dmitry Vyukov | 2013-03-18 | 3 | -21/+48 | |
| | | | | | | greatly reduces memory consumption llvm-svn: 177289 | |||||
* | tsan: mark shadow for thread stack as "don't need" when thread exits | Dmitry Vyukov | 2013-03-18 | 5 | -21/+13 | |
| | | | | llvm-svn: 177288 | |||||
* | tsan: better memory profiler | Dmitry Vyukov | 2013-03-18 | 3 | -15/+80 | |
| | | | | llvm-svn: 177286 | |||||
* | tsan: madvise(DONTNEED) shadow memory on munmap() | Dmitry Vyukov | 2013-03-18 | 1 | -0/+5 | |
| | | | | llvm-svn: 177278 | |||||
* | tsan: move implementation out of h file | Dmitry Vyukov | 2013-03-18 | 2 | -14/+15 | |
| | | | | llvm-svn: 177269 | |||||
* | tsan: fix clang -Wall build | Dmitry Vyukov | 2013-03-18 | 2 | -0/+6 | |
| | | | | | | | 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 edits | Alexey Samsonov | 2013-03-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 177265 | |||||
* | tsan: fix memory leak | Dmitry Vyukov | 2013-03-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 177262 | |||||
* | tsan: use StackDepot for thread creation stacks | Dmitry Vyukov | 2013-03-18 | 3 | -0/+19 | |
| | | | | llvm-svn: 177261 | |||||
* | tsan: fix Go build | Dmitry Vyukov | 2013-03-18 | 3 | -15/+19 | |
| | | | | llvm-svn: 177260 | |||||
* | tsan: use StackDepot in sync object to store creation stacks | Dmitry Vyukov | 2013-03-18 | 4 | -35/+12 | |
| | | | | llvm-svn: 177258 | |||||
* | [TSan] fix undefined variable in debug TSan build | Alexey Samsonov | 2013-03-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 177249 | |||||
* | [TSan] Use ThreadRegistry::FindThreadContextLocked() to find thread by its ↵ | Alexey Samsonov | 2013-03-18 | 1 | -20/+23 | |
| | | | | | | stack/tls address. llvm-svn: 177248 | |||||
* | [TSan] Makefiles: allow configurable paths to clang and FileCheck. Add ↵ | Alexey Samsonov | 2013-03-18 | 1 | -1/+1 | |
| | | | | | | -fno-rtti flag. llvm-svn: 177247 | |||||
* | [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common | Alexey Samsonov | 2013-03-15 | 9 | -335/+230 | |
| | | | | llvm-svn: 177154 | |||||
* | [sanitizer] Intercept frexp and friends. | Evgeniy Stepanov | 2013-03-14 | 2 | -0/+6 | |
| | | | | llvm-svn: 177056 | |||||
* | [TSan] Add missing header inclusion | Alexey Samsonov | 2013-03-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 177013 | |||||
* | [TSan] Use __sanitizer_pthread_attr_t in TSan | Alexey Samsonov | 2013-03-14 | 1 | -6/+1 | |
| | | | | llvm-svn: 177012 | |||||
* | [sanitizer] Move GetTlsSize code from TSan to sanitizer_common. | Evgeniy Stepanov | 2013-03-13 | 4 | -41/+3 | |
| | | | | llvm-svn: 176938 | |||||
* | [Sanitizer] Change MemoryMappingLayout methods to also report memory ↵ | Alexey Samsonov | 2013-03-13 | 1 | -2/+4 | |
| | | | | | | protection flags (for future use in leak checker). Patch by Sergey Matveev. llvm-svn: 176931 | |||||
* | [TSan] Add interceptor for malloc_usable_size() | Alexey Samsonov | 2013-02-25 | 4 | -0/+15 | |
| | | | | llvm-svn: 176013 | |||||
* | [sanitizer] Add interceptors for localtime and friends. | Evgeniy Stepanov | 2013-02-19 | 2 | -0/+16 | |
| | | | | llvm-svn: 175499 | |||||
* | [tsan] use our own GetEnv instead of libc's getenv | Kostya Serebryany | 2013-02-19 | 3 | -3/+3 | |
| | | | | llvm-svn: 175498 | |||||
* | tsan: fix bug in suppression reading (suppressions from file were discarded) | Dmitry Vyukov | 2013-02-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 175153 | |||||
* | tsan: do not imitate memory write on malloc() (Go) | Dmitry Vyukov | 2013-02-13 | 2 | -0/+24 | |
| | | | | | | better memory range access functions (put only 1 event to trace) (Go) llvm-svn: 175056 | |||||
* | [sanitizer] Missing changes from r174960. | Evgeniy Stepanov | 2013-02-12 | 2 | -0/+12 | |
| | | | | llvm-svn: 174962 | |||||
* | tsan: fix suppress_java logic | Dmitry Vyukov | 2013-02-07 | 1 | -7/+10 | |
| | | | | llvm-svn: 174635 | |||||
* | tsan: intercept libc __res_iclose | Dmitry Vyukov | 2013-02-07 | 5 | -0/+32 | |
| | | | | | | this is required to catch close of file descriptors created in getaddrinfo() llvm-svn: 174624 | |||||
* | tsan: fix Go build | Dmitry Vyukov | 2013-02-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 174622 | |||||
* | [TSan] skip multiple internal frames, if necessary | Alexey Samsonov | 2013-02-06 | 3 | -15/+13 | |
| | | | | llvm-svn: 174516 | |||||
* | [tsan] improve FrameIsInternal | Kostya Serebryany | 2013-02-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 174506 | |||||
* | [tsan] print error summary line | Kostya Serebryany | 2013-02-06 | 3 | -20/+44 | |
| | | | | llvm-svn: 174505 | |||||
* | [ASan] Delete the code related to static runtime on OS X. | Alexander Potapenko | 2013-02-05 | 1 | -1/+0 | |
| | | | | | | Nuke lib/interception/mach_override. llvm-svn: 174383 | |||||
* | tsan: intercept bind/listen | Dmitry Vyukov | 2013-02-04 | 3 | -0/+24 | |
| | | | | llvm-svn: 174311 | |||||
* | [Sanitizer] make internal_open have the same interface as libc version | Alexey Samsonov | 2013-02-01 | 2 | -2/+2 | |
| | | | | llvm-svn: 174187 | |||||
* | tsan: catch races on fd in more cases | Dmitry Vyukov | 2013-02-01 | 1 | -0/+12 | |
| | | | | llvm-svn: 174184 | |||||
* | tsan: even if races between atomic and plain memory accesses are turned off ↵ | Dmitry Vyukov | 2013-02-01 | 5 | -12/+39 | |
| | | | | | | | | (report_atomic_races=0), still report races between atomic accesses and free(). llvm-svn: 174175 | |||||
* | tsan: say that the memory access is atomic in reports | Dmitry Vyukov | 2013-02-01 | 4 | -3/+12 | |
| | | | | llvm-svn: 174168 | |||||
* | tsan: remember 2 stack frames for atomics (caller and atomic itself) | Dmitry Vyukov | 2013-02-01 | 1 | -14/+19 | |
| | | | | llvm-svn: 174167 | |||||
* | tsan: add flag to not report races between atomic and plain memory accesses | Dmitry Vyukov | 2013-02-01 | 3 | -4/+13 | |
| | | | | llvm-svn: 174165 | |||||
* | tsan: flip is_write bit in shadow to is_read | Dmitry Vyukov | 2013-02-01 | 1 | -13/+13 | |
| | | | | | | this makes calculation of interesting predicates faster llvm-svn: 174164 | |||||
* | tsan: detect races between plain and atomic memory accesses | Dmitry Vyukov | 2013-02-01 | 12 | -84/+141 | |
| | | | | llvm-svn: 174163 | |||||
* | [sanitizer] make the error messages from sanitizer_common contain the actual ↵ | Kostya Serebryany | 2013-01-31 | 1 | -0/+1 | |
| | | | | | | tool name llvm-svn: 174059 | |||||
* | tsan: do not check for intersecting memory accesses in Go (all accesses are ↵ | Dmitry Vyukov | 2013-01-31 | 1 | -2/+2 | |
| | | | | | | 1 byte) llvm-svn: 174046 | |||||
* | tsan: fix CPP_WEAK definition (it must be the other way around) | Dmitry Vyukov | 2013-01-30 | 1 | -3/+3 | |
| | | | | llvm-svn: 173932 | |||||
* | [Sanitizer] include sanitizer_common headers when building interception library | Alexey Samsonov | 2013-01-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 173930 | |||||
* | [sanitizer] Further split private and public sanitizer headers. | Evgeniy Stepanov | 2013-01-30 | 2 | -2/+2 | |
| | | | | | | And make msan_interface.h C-compatible. llvm-svn: 173928 |