History log of /external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7cbbb2943527ff852bdace822c8592cfc7e450d7 14-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept frexp and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
9358c58d0aaf1b20f17362af354d4c3c1309276a 19-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Add interceptors for localtime and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
86edb3b220ec3443cadd918609b3c05b8a6a1e7b 12-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Missing changes from r174960.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174962 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
03f224835f46801a0e22cc2951d21b67304e0457 07-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: intercept libc __res_iclose
this is required to catch close of file descriptors created in getaddrinfo()


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
52c70e5818727521b89f7fc95a2a383df8985ca6 04-Feb-2013 Dmitry Vyukov <dvyukov@google.com> tsan: intercept bind/listen


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
31c05ea4d508a476403ba30c1f60ef6190eb46b6 29-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: support for inprocess symbolizer


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
61ba1b5df34614e0647f5f80d462f6485e817fa5 29-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add interceptor stubs for stat family of functions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
996c4f2fa53cce8f9d7b517073f38569460de505 18-Jan-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Common *scanf interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
c20b321d49f0eff60f1394d56e623d8ca94f24d7 18-Jan-2013 Kostya Serebryany <kcc@google.com> [sanitizer] reapply r172719, r172721-172723, r172725, and also fix the warning on Mac.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
29b37ea8907bc99bf86fab89bf8dc93a520ebac4 17-Jan-2013 Jakob Stoklund Olesen <stoklund@2pi.dk> Revert r172719, r172721-172723, and r172725.

The r172719 patch broke the build on Mac, the others depended on it.

compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function
'SetThreadName' [-Werror,-Wunused-function]
static void SetThreadName(const char *name) {

Orignal headlines:

[asan] attempting to fix the Mac build
[asan] restructure read/pread/pread64 tests
[sanitizer] move write/pwrite/pwrite64 interceptors to common
[msan] start using common interceptors in msan
[tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
0223e7dece2c215ed07e2100e1739fa5bf4d8210 17-Jan-2013 Kostya Serebryany <kcc@google.com> [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172719 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
f17b3822b22751f09549ab563cc5ca61d072b2e8 09-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix crash when user defines own fopen/fileno


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
bb30741133d0053d242e9aef869c6d19e18cbcea 09-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix crash when user defines own fopen/fileno


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
f4e4f9393ed1cf9cbefaafc6ea8fd9b89fea4bcf 21-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: update mutex table for java


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
4554b7a7b345cd50ff8138b3cda8dd1135b965fa 18-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: intercept fork() to prevent false race reports on fd's


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
45d4324bf5b0ec282f0a8f96312233e09a882502 18-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add signalfd() and inotify_init() interceptors


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
983518e360a179d92bdbddebe05a87db3c6cc3c0 14-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add socketpair() interceptor and test


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
c78839f0288e5af16101b5fd3b455e1a88cc1c5e 12-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: more precise handling of IO synchronization


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
68230a12bbd22c9402dd8f9af027fcb2e119f978 07-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: even more fd interceptors + fixes


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169628 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
ba3ae356e0827bfdb17feaff53e17c3934470404 07-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: more fd interceptors + bug fixes + tests


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
ddeb2c354235818494d86827e88a0c2fa44bebcc 07-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add pipe interceptors


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
ad9da372f962495b3487685232d09390be841b1c 06-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add mutexsets to reports
With this change reports say what mutexes the threads hold around the racy memory accesses.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
1ffeded71b960d8a0f018a46a0035203b1484a7a 05-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: provide own implementation of __cxa_guard_xxx functions
that way we allow static linking of libstdc++


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
07ba8ef44deb54baa9307298fbffe25ddb30c362 30-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add __libc_memalign interceptor (used by dynamic loader to allocate tls for dlopen'ed modules)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169017 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
63da509a995a3cac9bf5495b5cb94c527ff96ce1 27-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add 128-bit atomic operations


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
02b45d2aec154cb392cd6eb85e8dd16ed255351f 26-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add atomic nand operation


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
ee8ee2437b28ab8bf6f48af15b8b446fb5d55e90 15-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: eevn better handling of signals
add interceptor for poll()
in addition process signals in every atomic op
in addition process signals in blocking libc functions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168050 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
aad173b2f1dae9f88bbffd217ebd46ed1f020bcb 09-Nov-2012 Dmitry Vyukov <dvyukov@google.com> tsan: intercept gettimeofday()


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167630 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
b1fe3021eca0843e37878d224ee7f32e32f40d99 02-Nov-2012 Alexey Samsonov <samsonov@google.com> [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_common

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
223ff76d894fea012086da0413afbf219221d718 11-Sep-2012 Alexander Potapenko <glider@google.com> Revert the lockf() support.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
0ce948e0887e2c23c6510c32a639da9730bbce25 11-Sep-2012 Alexander Potapenko <glider@google.com> Interceptors for lockf and lockf64, minor calloc() fix.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
e954101f6602ac181a2c3accfbbad0ae51b0bf7c 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer]: Introduce a common internal printf function. For now, also use 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).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
67a64dd8259fdbd867633b27f54d584f435f1ce6 06-Jun-2012 Alexey Samsonov <samsonov@google.com> [TSan] run some renaming as a preparation for factoring out Printf implementation.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
603c4be006d8c53905d736bf1f19a49f5ce98276 04-Jun-2012 Alexey Samsonov <samsonov@google.com> Remove file-type tags in .cc files in tsan/ and sanitizer_common/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
f037f565b2e02878ceb6e7b49647e814e2990ef5 31-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: intercept longjmp() but die in it, greatly simplifies problem diagnostic


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157760 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc
7ac41484ea322e0ea5774df681660269f5dc321e 10-May-2012 Kostya Serebryany <kcc@google.com> [tsan] First commit of ThreadSanitizer (TSan) run-time library.

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.




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.cc