summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: synchronize connect->accept callsDmitry Vyukov2012-12-141-0/+1
| | | | llvm-svn: 170235
* tsan: add socketpair() interceptor and testDmitry Vyukov2012-12-141-0/+9
| | | | llvm-svn: 170184
* tsan: explain why pthread_cond_init() interceptor is commented outDmitry Vyukov2012-12-121-0/+2
| | | | llvm-svn: 169975
* tsan: more precise handling of IO synchronizationDmitry Vyukov2012-12-121-221/+75
| | | | llvm-svn: 169970
* [asan] add sanitizer_common/sanitizer_common_interceptors.h with ↵Kostya Serebryany2012-12-121-0/+2
| | | | | | pread/pread64/read interceptors. Use it in asan. Add asan tests for pread/etc. Add FIXME to tsan/msan interceptors llvm-svn: 169966
* Unbreak the C++98 build.David Blaikie2012-12-071-1/+1
| | | | llvm-svn: 169636
* tsan: even more fd interceptors + fixesDmitry Vyukov2012-12-071-14/+125
| | | | llvm-svn: 169628
* tsan: more fd interceptors + bug fixes + testsDmitry Vyukov2012-12-071-20/+99
| | | | llvm-svn: 169621
* tsan: fix pipe interceptors and add 2 testsDmitry Vyukov2012-12-071-9/+17
| | | | llvm-svn: 169607
* tsan: add pipe interceptorsDmitry Vyukov2012-12-071-8/+73
| | | | llvm-svn: 169602
* tsan: refactoring is preparation to more precise fd synchronization handlingDmitry Vyukov2012-12-071-24/+83
| | | | llvm-svn: 169600
* tsan: provide own implementation of __cxa_guard_xxx functionsDmitry Vyukov2012-12-051-15/+22
| | | | | | that way we allow static linking of libstdc++ llvm-svn: 169376
* tsan: remove unnecesary include fileDmitry Vyukov2012-12-051-1/+34
| | | | llvm-svn: 169370
* tsan: better error message if we fail to intercept some functionDmitry Vyukov2012-12-041-1/+8
| | | | | | currently the message is SIGSEGV llvm-svn: 169231
* tsan: suppress weird race reports when JVM is embed into the processDmitry Vyukov2012-11-301-1/+1
| | | | llvm-svn: 169019
* tsan: add __libc_memalign interceptor (used by dynamic loader to allocate ↵Dmitry Vyukov2012-11-301-0/+6
| | | | | | tls for dlopen'ed modules) llvm-svn: 169017
* tsan: intercept mlock() because of the kernel bugDmitry Vyukov2012-11-301-0/+34
| | | | llvm-svn: 168987
* [asan] get rid of some of the uses of kPageSize. The intent is to get rid of ↵Kostya Serebryany2012-11-231-3/+3
| | | | | | it completely to support platforms with multiple possible page sizes. llvm-svn: 168517
* tsan: fix more bugs in signal handlingDmitry Vyukov2012-11-221-3/+1
| | | | llvm-svn: 168497
* tsan: fix handling of signals Dmitry Vyukov2012-11-211-2/+4
| | | | | | (do not execute synchronous signals in recursive interceptors) llvm-svn: 168421
* [TSan] use explicit ctor for BlockingCallAlexey Samsonov2012-11-161-1/+1
| | | | llvm-svn: 168150
* tsan: eevn better handling of signalsDmitry Vyukov2012-11-151-21/+47
| | | | | | | | add interceptor for poll() in addition process signals in every atomic op in addition process signals in blocking libc functions llvm-svn: 168050
* tsan: intercept gettimeofday()Dmitry Vyukov2012-11-091-0/+7
| | | | llvm-svn: 167630
* tsan: do not sleep at exit if there are no other threadsDmitry Vyukov2012-11-071-1/+0
| | | | llvm-svn: 167533
* tsan: add flag to suppress all reports (useful for benchmarking)Dmitry Vyukov2012-11-071-1/+1
| | | | llvm-svn: 167532
* [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_commonAlexey Samsonov2012-11-021-6/+6
| | | | llvm-svn: 167294
* 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: output tid's in reportsDmitry Vyukov2012-10-021-1/+1
| | | | llvm-svn: 164998
* [TSan] move replacement for new/delete back into tsan_interceptorsAlexey Samsonov2012-09-271-2/+46
| | | | llvm-svn: 164764
* [TSan] Provide replacements for operators new/delete instead of declaring ↵Alexey Samsonov2012-09-241-178/+23
| | | | | | extern C functions with weirdly mangled names (same strategy is used in ASan). llvm-svn: 164487
* [TSan] fix a bunch of warnings reported by pedantic gccAlexey Samsonov2012-09-131-2/+2
| | | | llvm-svn: 163788
* Revert the lockf() support. Alexander Potapenko2012-09-111-34/+0
| | | | llvm-svn: 163614
* Interceptors for lockf and lockf64, minor calloc() fix.Alexander Potapenko2012-09-111-1/+41
| | | | llvm-svn: 163602
* tsan: add "as if synchronized via sleep" featureDmitry Vyukov2012-08-311-2/+25
| | | | llvm-svn: 163006
* tsan: implement RWLOCK annotationsDmitry Vyukov2012-08-161-3/+3
| | | | llvm-svn: 162019
* tsan: refactor cur_thread() -> thrDmitry Vyukov2012-08-161-56/+56
| | | | llvm-svn: 162017
* tsan: switch to new allocatorDmitry Vyukov2012-08-151-4/+4
| | | | llvm-svn: 161953
* tsan: fix parameter type for pwrite64() interceptorDmitry Vyukov2012-08-121-1/+1
| | | | llvm-svn: 161741
* [tsan] use internal_strnlen in strncpy interceptor (the bug found while ↵Kostya Serebryany2012-07-131-1/+1
| | | | | | booting chromium) llvm-svn: 160171
* tsan/asan: unify atomics (move atomics from tsan to sanitizer_common)Dmitry Vyukov2012-06-291-1/+1
| | | | llvm-svn: 159437
* tsan: replace struct copies where clang inserts memcpy() calls with explicit ↵Dmitry Vyukov2012-06-291-5/+6
| | | | | | internal_memcpy() calls llvm-svn: 159431
* tsan: remove own memset/memcpy/memcmp (too messy)Dmitry Vyukov2012-06-291-32/+11
| | | | llvm-svn: 159430
* tsan: clear shadow for ucontext, because it's visible to userDmitry Vyukov2012-06-281-0/+1
| | | | llvm-svn: 159365
* tsan: fix crashes if signal is caught during thread bootstrap or shutdownDmitry Vyukov2012-06-281-6/+14
| | | | llvm-svn: 159361
* tsan: prevent insertion of unwanted memset/memcpy/memcmp into runtimeDmitry Vyukov2012-06-271-34/+54
| | | | llvm-svn: 159294
* tsan: remember and pass original ucontext to signal handlers (instead of a ↵Dmitry Vyukov2012-06-271-5/+4
| | | | | | fabricated one) llvm-svn: 159278
* tsan: refactor signal handling code (move some definitions out of common header)Dmitry Vyukov2012-06-271-20/+61
| | | | llvm-svn: 159266
* tsan: check that signal handlers do not spoil errno.Dmitry Vyukov2012-06-271-1/+18
| | | | llvm-svn: 159264
* [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc ↵Alexey Samsonov2012-06-151-26/+2
| | | | | | implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
* [Sanitizer] Move internal_memcmp to common sanitizer libcAlexey Samsonov2012-06-141-4/+0
| | | | llvm-svn: 158450
OpenPOWER on IntegriCloud