summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [TSan] use efficient real_memcpy inside runtimeAlexey Samsonov2012-06-091-0/+4
| | | | llvm-svn: 158260
* [Sanitizer] add internal_memset and internal_strrchr to sanitizer_common/Alexey Samsonov2012-06-081-4/+0
| | | | llvm-svn: 158202
* [TSan] s/internal_memset/real_memsetAlexey Samsonov2012-06-081-3/+3
| | | | llvm-svn: 158200
* [Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make ↵Alexey Samsonov2012-06-071-12/+0
| | | | | | 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-071-1/+1
| | | | llvm-svn: 158145
* [Sanitizer]: Introduce a common internal printf function. For now, also use ↵Alexey Samsonov2012-06-061-1/+1
| | | | | | 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-6/+6
| | | | | | implementation. llvm-svn: 158058
* [Sanitizer] Move more functions/constants to sanitizer_common.Alexey Samsonov2012-06-061-4/+1
| | | | llvm-svn: 158056
* [Sanitizer] Use common defines for ASan and TSan runtime. Split defines ↵Alexey Samsonov2012-06-051-1/+1
| | | | | | between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. llvm-svn: 157998
* Remove file-type tags in .cc files in tsan/ and sanitizer_common/Alexey Samsonov2012-06-041-1/+1
| | | | llvm-svn: 157928
* [Sanitizer]: move internal_strcmp to sanitizer_commonAlexey Samsonov2012-06-041-4/+0
| | | | llvm-svn: 157926
* tsan: intercept longjmp() but die in it, greatly simplifies problem diagnosticDmitry Vyukov2012-05-311-0/+15
| | | | llvm-svn: 157760
* tsan: prevent recursive signal handlersDmitry Vyukov2012-05-291-0/+1
| | | | llvm-svn: 157625
* tsan: do not call into libc in symbolizer and in other code (this causes ↵Dmitry Vyukov2012-05-251-4/+5
| | | | | | recursion and crashes) llvm-svn: 157466
* tsan: output message about failure to intercept only if verbosity flag is passedDmitry Vyukov2012-05-251-1/+1
| | | | llvm-svn: 157465
* tsan: fix sizeof sigset_tDmitry Vyukov2012-05-221-1/+1
| | | | llvm-svn: 157268
* tsan: simple memory profilerDmitry Vyukov2012-05-221-0/+6
| | | | llvm-svn: 157248
* tsan: implement malloc/free hooksDmitry Vyukov2012-05-211-15/+82
| | | | llvm-svn: 157196
* tsan: do not assume non-recursive signal handlersDmitry Vyukov2012-05-211-6/+6
| | | | llvm-svn: 157187
* tsan: better, more realistic handling of signalsDmitry Vyukov2012-05-211-21/+105
| | | | llvm-svn: 157178
* tsan: fix potential NULL derefDmitry Vyukov2012-05-181-1/+1
| | | | llvm-svn: 157047
* tsan: remove shutdown codeDmitry Vyukov2012-05-171-1/+2
| | | | | | | | 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] First commit of ThreadSanitizer (TSan) run-time library.Kostya Serebryany2012-05-101-0/+1402
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