History log of /external/compiler-rt/lib/tsan/rtl/tsan_stat.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d763c0d3700e73b3aead8e65e04ec28efc56138 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r256229

http://b/26987366

(cherry picked from commit 799172d60d32feb1acba1a6867f3a9c39a999e5c)

Change-Id: I0362e411c56dbd5a7a10f9ca1f2ad33a40c8abd4
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
6a211c5814e25d6745a5058cc0e499e5235d3821 21-Jul-2014 Stephen Hines <srhines@google.com> Update compiler-rt for rebase to r212749.

Includes a cherry-pick of:
r213309 - fixes umodsi3

Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
e4f9f8a1296768a7a6b6646a3b241a379f4a5e15 02-Nov-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept strptime.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
26fe5d396c5c99ddcd89b3f8722cea1d4940b9e9 31-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getline, getdelim.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
78d77c2638b8e02020737c9b296ce2198e4c58e6 29-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept drand48_r, lrand48_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
f814b43ed659512203439bc8c3f6d468155a1d3f 29-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept sincos, remquo, lgamma, lgamma_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
5cf2c460e96e593b1c772f1b02d3a217f4837fdc 29-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan/asan: support pthread_setname_np to set thread names



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
eada1a81188329b3f011311caed12ca4be4f639e 25-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept tmpnam, tmpnam_r, tempnam.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193415 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
3a3805f4923cddef1ac3e71ee52ffc7e30c93bbf 25-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Remove pthread_attr_getstackaddr interceptor.

The function is deprecated.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193409 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
e236dbb5e558b174609d2d13e80685d488c129d8 25-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept pthread_attr_get*.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
aff25aa02098a510eff6eda1a3ec823e5b1fe1aa 25-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept random_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
10362d66fffcd99bd5ced983e4b389dfeba114d0 24-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept shmctl.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
369a9a6d4297af031227db1c6fedd21ee7033dc1 23-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept ether_* functions.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
285d458935bc2f9d8ec1109de01ed66185062349 22-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept initgroups.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193158 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
5cee73e486aaa617a9627bb69a6447d3369b62cc 18-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Move statfs/fstatfs to common interceptors and add statvfs/fstatvfs.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
4d7297daef90ad59446250617b72d184141436fc 18-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getmntent, getmntent_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
e1ddbf9a458e81125a03fea721997565124294ae 10-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add annotations to ignore synchronization operations

The annotations are AnnotateIgnoreSyncBegin/End,
may be useful to ignore some infrastructure synchronization
that introduces lots of false negatives.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192355 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
c78140f0bd5d6b44a2a30d82879480c592f10d52 03-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: intercept _exit so that we can override exit status



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
4af0f21c0c98950df1136dbec8824a029ed5bb8e 03-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: ignore interceptors coming from specified libraries

LibIgnore allows to ignore all interceptors called from a particular set
of dynamic libraries. LibIgnore remembers all "called_from_lib" suppressions
from the provided SuppressionContext; finds code ranges for the libraries;
and checks whether the provided PC value belongs to the code ranges.

Also make malloc and friends interceptors use SCOPED_INTERCEPTOR_RAW instead of
SCOPED_TSAN_INTERCEPTOR, because if they are called from an ignored lib,
then must call our internal allocator instead of libc malloc.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
1394be15dfc8a8fc0586d5f5e4302c2c8e917148 27-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept backtrace, backtrace_symbols.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
9a949a8909f652b28e9084de785c848743139fd5 25-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] A bunch of libc interceptors.

sigwait
sigwaitinfo
sigtimedwait
sigemptyset
sigfillset
sigpending
sigprocmask


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191374 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
c5a385500057ba60c71abbb1d1cc0ee3773be792 24-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept wordexp.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
39fa68e4076f6a86765ddc69c44bcecb804f0b53 22-Sep-2013 Dmitry Vyukov <dvyukov@google.com> tsan: ignore malloc/free/strdup when called from libjvm


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
fae2bff6de8be5a319ca17fd713731ce8a887476 20-Sep-2013 Dmitry Vyukov <dvyukov@google.com> tsan: fix linking of tsan runtime into dynamic libraries
versioned symbols can not be linked into dynamic library w/o linker script
also simplifies code as side effect



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
f061554e8bbfad5e29dcd9e81feb725b75869fa0 02-Sep-2013 Dmitry Vyukov <dvyukov@google.com> tsan: properly intercept pthread_cond functions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
e18e3f07802c420eb4b2da407e148084b75cecc9 12-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept poll/ppoll.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
edff34b5175c6759685da82077c99ee2be017667 12-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getgroups.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
224226c18c1ee1f9d187de86bf1c5023cb153c71 08-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept scandir/scandir64.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
1204979804868728edb6edfe3ae018465191a85c 08-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept strerror and strerror_r.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187978 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
84ba74c10ad43c6dff77302f87efae72623d2a1b 07-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept sched_getaffinity.

Re-applying with a more reliable test case.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187876 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
212008328600e3b966fe5363e84d7fa824eafe77 07-Aug-2013 David Blaikie <dblaikie@gmail.com> Revert "[sanitizer] Intercept sched_getaffinity."

This reverts commit r187788.

The test case is unreliable (as the test may be run in a situation in
which it has no affinity with cpu0). This can be recommitted with a more
reliable test - possibly using CPU_COUNT != 0 instead (I wasn't entirely
sure that a process was guaranteed to have at least one affinity, though
it seems reasonable, or I'd have made the change myself).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
b2dc6137eaa16f45401a6905f5aff1e894ae0975 06-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept sched_getaffinity.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
5ec19bc74b52fd962f079086c2fa615d6d3f0864 30-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept confstr.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
fbeab51e1cddbeb73ad0d86d1f650081178c1dd8 16-Jul-2013 Dmitry Vyukov <dvyukov@google.com> tsan: support sigsuspend() call
Intercepting it makes it process pending signal before return.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
12eb79dd701d9d40551759330a9257316601373b 09-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept realpath and canonicalize_file_name.

Handle realpath(path, NULL) form.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
ea72768894e32f367607c2142a7dfab603310da0 04-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept tcgetattr.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
ff6c9fb3ee83529dc28cd60a3797a8b783f3e892 04-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] More interceptors.

bcopy
strtoimax, strtoumax
mbstowcs, mbsrtowcs, mbsnrtowcs
wcstombs, wcsrtombs, wcsnrtombs



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
801448950d645813efb398575bbc62b48e5b1dfc 02-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept mbtowc, mbrtowc, get_current_dir_name.

Move getcwd to common interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
3cae6040ebb4ce14123b8ba000b79b4383dbd48a 02-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept setlocale.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
9eedf489075c24b2b1ed9f88bf5102066fffdeb1 01-Jul-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getnameinfo.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
341b9e63f63a8eacf1b699d4c79edee55241ebe6 28-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept ptrace.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
b5cf98f76fd62236f2945bff17b3cdb4e8a5c2f4 26-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] readdir and readdir_r interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184950 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
359d7fc7daf099ab8ef9a860564542d2581544aa 24-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept sysinfo.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
90a65aa532dc1e60ce3413b05cd2f3bf3e166058 24-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Fix TSan build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
b916e6a9b3efa4907b70a2dcd418c76b044171e7 24-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept readv, preadv, writev, pwritev.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
745dd0d296e7bef712df4b5c7f86c72534953738 07-Jun-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] ioctl interceptor.

ASan: disabled by default
MSan: enabled by default
TSan: disabled


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
bc33e138d82759074f8333239f96506027731e20 29-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getpeername.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
c87088b54f7438d589119d314853a5f3b00d02b5 29-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] modf/modff/modfl interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
f32be42523a199674ea665a499db131591e64e08 23-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getsockopt.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182574 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
0a2cc37712a452525f9f03b3bf67b1f0a97c8d3a 23-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Interceptors for gethostbyname and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182573 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
9f58c5c60a56d9c39d36b5313dc87ad4bb713163 22-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept getsockname.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
447ef19d1b8cebbeaba49e4be22ac721448dcf3e 22-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] getaddrinfo & nested interceptor support.

Multiple connected changes:
- Ignore reads from nested interceptors.
- Check shadow on reads from common interceptors.
- getaddrinfo interceptor.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
56d3472104dd9fec6578e02f4895f3254e038e8e 21-May-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept pthread_getschedparam.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
9530eb721dfacdf2c3f46d408e22d3f7cf8be667 23-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept inet_pton and inet_ntop.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180107 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
103a63ed3fb5511516b55ce1ee4f33290209f3d8 23-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Intercept getgrnam{_r}, getgrgid{_r}.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
897a4ae31f5c55255c78854b69b4cd4a4e3c7c39 09-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] Interceptors for wait*.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179096 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
a1c2a5547d815a4ce116f04ebd3cef1716ab791c 09-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept glob() with tests.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
39fdce1e178196afbbe34d4530c621e58ebab0d4 08-Apr-2013 Chandler Carruth <chandlerc@gmail.com> Revert r179012: "[msan] Intercept glob()."

This was committed without tests and contains obvious bugs. That's not
acceptable. It broke address sanitizer for most programs using glob(3).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
6f4c197022901cd961d15a3e5f68eeaab5bcdffa 08-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Intercept glob().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
cc24ec9da75581b1d9b5088950807af5ecc5179e 08-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [tsan] Fix build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
e4bdda51b3469aa0f6ef6f6c4656419effa48038 01-Apr-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [sanitizer] More interceptors.

getpwnam, getpwuid, getpwnam_r, getpwuid_r, clock_getres, clock_gettime,
clock_settime, getitimer, setitimer, sigaction (MSan).



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
be52366ff2500f11133fd6089f349e93bd5f4822 26-Mar-2013 Dmitry Vyukov <dvyukov@google.com> asan/tsan: move strcasecmp() interceptor to sanitizer_common


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178010 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
5043f05a633b8d2f19ebd3dda961408c69473718 21-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: intercept abort() to fflush() libc streams



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
0ebfc6fb9ba161e994dfd1c3ce898b0895d83c33 20-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: call fflush(0) on exit again


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177522 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
82dbc5195ceedba0e1a9aab92d436614cc4b7ff9 20-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: special handling of .rodata (don't try to find races, don't keep shadow, dont' put into traces)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
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.h
8a6b5e551ab8a331f7e7bc4bfcd74926fbffa3f6 25-Feb-2013 Alexey Samsonov <samsonov@google.com> [TSan] Add interceptor for malloc_usable_size()

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
21cc85db95b8fa85a9ff7a403c8a24e345d73baf 20-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: java interface implementation skeleton


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
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.h
529cfa05a7dd0cdbe97172045430243181e43522 04-Oct-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add atomic_fetch_sub() and atomic_signal_fence() functions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165218 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
2135d8a7f4ba30fe35ed02d5e6ffd59a95b26219 13-Sep-2012 Alexey Samsonov <samsonov@google.com> [TSan] fix a bunch of warnings reported by pedantic gcc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163788 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
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.h
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.h
848531192777acecf79747dc7c1ffeedf5c1da9f 31-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add "as if synchronized via sleep" feature


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
c20e9ba760a93706c9160133cdcce62194f9694f 16-Aug-2012 Dmitry Vyukov <dvyukov@google.com> tsan: implement RWLOCK annotations


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
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.h
d91d06794506f10fb7599a2b835222fba29394e0 21-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: better, more realistic handling of signals


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
cdfb33a69a0c96c6912036ad85224972db3a7e7d 14-May-2012 Dmitry Vyukov <dvyukov@google.com> tsan: add more atomics to public interface (fetch_or/and/xor + 1-,2-byte versions)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156766 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/tsan/rtl/tsan_stat.h
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.h