summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_mman.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_commonAlexey Samsonov2013-03-151-1/+1
| | | | llvm-svn: 177154
* [TSan] Add interceptor for malloc_usable_size()Alexey Samsonov2013-02-251-0/+8
| | | | llvm-svn: 176013
* tsan: return the old fake numbers from malloc stats (some code already ↵Dmitry Vyukov2013-01-241-2/+2
| | | | | | depends on them) llvm-svn: 173348
* tsan: implement malloc stats queryingDmitry Vyukov2013-01-241-10/+32
| | | | llvm-svn: 173332
* tsan: add stubs for malloc introspection (similar to what we have in asan)Dmitry Vyukov2013-01-231-0/+32
| | | | llvm-svn: 173255
* tsan: describe stack and TLS addressesDmitry Vyukov2013-01-141-0/+1
| | | | llvm-svn: 172393
* tsan: fix crash when user defines own fopen/filenoDmitry Vyukov2013-01-091-1/+3
| | | | llvm-svn: 171967
* tsan: fix the code that searches for heap memory block metadataDmitry Vyukov2012-12-251-2/+2
| | | | | | (the old code won't work with new allocator) llvm-svn: 171054
* tsan: add mutexsets to reportsDmitry Vyukov2012-12-061-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 Vyukov2012-10-051-2/+5
| | | | | | symbolize the reports) llvm-svn: 165317
* [TSan] Provide replacements for operators new/delete instead of declaring ↵Alexey Samsonov2012-09-241-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" featureDmitry Vyukov2012-08-311-5/+1
| | | | llvm-svn: 163006
* tsan: use stack depot to describe heap blocksDmitry Vyukov2012-08-301-3/+9
| | | | llvm-svn: 162902
* tsan: store sync objects in memory block headers + delete them when the ↵Dmitry Vyukov2012-08-151-1/+13
| | | | | | block is freed llvm-svn: 161959
* tsan: switch to new allocatorDmitry Vyukov2012-08-151-26/+21
| | | | llvm-svn: 161953
* tsan: remove internal allocator, switch to sanitizer_common one.Dmitry Vyukov2012-06-251-4/+3
| | | | llvm-svn: 159141
* tsan: do not call malloc/free in memory access handling routine.Dmitry Vyukov2012-06-221-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 Samsonov2012-06-071-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 Samsonov2012-06-061-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 Samsonov2012-06-061-1/+1
| | | | | | 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: add more checks for OOM conditionsDmitry Vyukov2012-05-211-0/+4
| | | | | | tests like to try to malloc((size_t)-1) llvm-svn: 157176
* tsan: check for overflow in malloc()Dmitry Vyukov2012-05-181-0/+2
| | | | llvm-svn: 157048
* tsan: remove shutdown codeDmitry Vyukov2012-05-171-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 reportsDmitry Vyukov2012-05-141-1/+1
| | | | llvm-svn: 156765
* [tsan] First commit of ThreadSanitizer (TSan) run-time library.Kostya Serebryany2012-05-101-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
OpenPOWER on IntegriCloud