Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common | Alexey Samsonov | 2013-03-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 177154 | |||||
* | [TSan] Add interceptor for malloc_usable_size() | Alexey Samsonov | 2013-02-25 | 1 | -0/+8 | |
| | | | | llvm-svn: 176013 | |||||
* | tsan: return the old fake numbers from malloc stats (some code already ↵ | Dmitry Vyukov | 2013-01-24 | 1 | -2/+2 | |
| | | | | | | depends on them) llvm-svn: 173348 | |||||
* | tsan: implement malloc stats querying | Dmitry Vyukov | 2013-01-24 | 1 | -10/+32 | |
| | | | | llvm-svn: 173332 | |||||
* | tsan: add stubs for malloc introspection (similar to what we have in asan) | Dmitry Vyukov | 2013-01-23 | 1 | -0/+32 | |
| | | | | llvm-svn: 173255 | |||||
* | tsan: describe stack and TLS addresses | Dmitry Vyukov | 2013-01-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 172393 | |||||
* | tsan: fix crash when user defines own fopen/fileno | Dmitry Vyukov | 2013-01-09 | 1 | -1/+3 | |
| | | | | llvm-svn: 171967 | |||||
* | tsan: fix the code that searches for heap memory block metadata | Dmitry Vyukov | 2012-12-25 | 1 | -2/+2 | |
| | | | | | | (the old code won't work with new allocator) llvm-svn: 171054 | |||||
* | tsan: add mutexsets to reports | Dmitry Vyukov | 2012-12-06 | 1 | -1/+3 | |
| | | | | | | With this change reports say what mutexes the threads hold around the racy memory accesses. llvm-svn: 169493 | |||||
* | tsan: cache pc's that cause suppressions (this way we do not need to ↵ | Dmitry Vyukov | 2012-10-05 | 1 | -2/+5 | |
| | | | | | | symbolize the reports) llvm-svn: 165317 | |||||
* | [TSan] Provide replacements for operators new/delete instead of declaring ↵ | Alexey Samsonov | 2012-09-24 | 1 | -0/+26 | |
| | | | | | | extern C functions with weirdly mangled names (same strategy is used in ASan). llvm-svn: 164487 | |||||
* | tsan: add "as if synchronized via sleep" feature | Dmitry Vyukov | 2012-08-31 | 1 | -5/+1 | |
| | | | | llvm-svn: 163006 | |||||
* | tsan: use stack depot to describe heap blocks | Dmitry Vyukov | 2012-08-30 | 1 | -3/+9 | |
| | | | | llvm-svn: 162902 | |||||
* | tsan: store sync objects in memory block headers + delete them when the ↵ | Dmitry Vyukov | 2012-08-15 | 1 | -1/+13 | |
| | | | | | | block is freed llvm-svn: 161959 | |||||
* | tsan: switch to new allocator | Dmitry Vyukov | 2012-08-15 | 1 | -26/+21 | |
| | | | | llvm-svn: 161953 | |||||
* | tsan: remove internal allocator, switch to sanitizer_common one. | Dmitry Vyukov | 2012-06-25 | 1 | -4/+3 | |
| | | | | llvm-svn: 159141 | |||||
* | tsan: do not call malloc/free in memory access handling routine. | Dmitry Vyukov | 2012-06-22 | 1 | -0/+8 | |
| | | | | | | This improves signal-/fork-safety of instrumented programs. llvm-svn: 158988 | |||||
* | [Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make ↵ | Alexey Samsonov | 2012-06-07 | 1 | -2/+3 | |
| | | | | | | internal allocations from TSan runtime call InternalAlloc from common runtime llvm-svn: 158148 | |||||
* | [Sanitizer]: Introduce a common internal printf function. For now, also use ↵ | Alexey Samsonov | 2012-06-06 | 1 | -2/+2 | |
| | | | | | | 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 | 1 | -1/+1 | |
| | | | | | | implementation. llvm-svn: 158058 | |||||
* | Remove file-type tags in .cc files in tsan/ and sanitizer_common/ | Alexey Samsonov | 2012-06-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 157928 | |||||
* | tsan: add more checks for OOM conditions | Dmitry Vyukov | 2012-05-21 | 1 | -0/+4 | |
| | | | | | | tests like to try to malloc((size_t)-1) llvm-svn: 157176 | |||||
* | tsan: check for overflow in malloc() | Dmitry Vyukov | 2012-05-18 | 1 | -0/+2 | |
| | | | | llvm-svn: 157048 | |||||
* | tsan: remove shutdown code | Dmitry Vyukov | 2012-05-17 | 1 | -28/+0 | |
| | | | | | | | | 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) llvm-svn: 156991 | |||||
* | tsan: enabled report suppression for signal-unsafe reports | Dmitry Vyukov | 2012-05-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 156765 | |||||
* | [tsan] First commit of ThreadSanitizer (TSan) run-time library. | Kostya Serebryany | 2012-05-10 | 1 | -0/+137 | |
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. llvm-svn: 156542 |