summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl
Commit message (Collapse)AuthorAgeFilesLines
...
* Hide mlock/munlock info message under verbosity flag.Alexey Samsonov2013-07-011-1/+2
| | | | llvm-svn: 185314
* Fix typo found by Clang fix for extern "C" function handling.Richard Smith2013-06-281-1/+1
| | | | llvm-svn: 185234
* [sanitizer] Intercept ptrace.Evgeniy Stepanov2013-06-282-0/+2
| | | | llvm-svn: 185142
* tsan: revert dynamic symbols file to the old incorrect oneDmitry Vyukov2013-06-271-380/+3
| | | | | | | full proper list of dynamic symbols crashes old gold (see bug 16468). the culprit is 'memcpy' function, if it's added to syms file, gold crashes llvm-svn: 185078
* tsan: remove non-existent functions from syms fileDmitry Vyukov2013-06-271-12/+0
| | | | llvm-svn: 185077
* [tsan] Fix build.Sergey Matveev2013-06-261-1/+1
| | | | llvm-svn: 184963
* [tsan] Move some suppressions-related code to common.Sergey Matveev2013-06-264-142/+41
| | | | | | Factor out code to be reused in LSan. Also switch from linked list to vector. llvm-svn: 184957
* [sanitizer] readdir and readdir_r interceptors.Evgeniy Stepanov2013-06-262-0/+8
| | | | llvm-svn: 184950
* tsan: add missing __attribute__((visibility("default"))) to interface functionsDmitry Vyukov2013-06-251-0/+30
| | | | llvm-svn: 184858
* tsan: update dynamic export syms fileDmitry Vyukov2013-06-241-3/+392
| | | | | | | now it includes proper functions (including interceptors) and does not include local functions that lead to build failures llvm-svn: 184747
* [sanitizer] Intercept sysinfo.Evgeniy Stepanov2013-06-242-0/+2
| | | | llvm-svn: 184739
* [sanitizer] Fix TSan build.Evgeniy Stepanov2013-06-242-0/+2
| | | | llvm-svn: 184736
* [sanitizer] Intercept readv, preadv, writev, pwritev.Evgeniy Stepanov2013-06-243-38/+4
| | | | llvm-svn: 184717
* tsan: fix potential false positive race on fdDmitry Vyukov2013-06-201-1/+1
| | | | llvm-svn: 184430
* tsan: consistently use return pc as top frame pcDmitry Vyukov2013-06-175-10/+19
| | | | | | | always substract 1 from the top pc this allows to get correct stacks with -O2 llvm-svn: 184112
* [TSan] use InternalMmapVector to store fired suppressionsAlexey Samsonov2013-06-143-6/+7
| | | | llvm-svn: 183974
* tsan: fix Windows Go crashDmitry Vyukov2013-06-131-1/+3
| | | | llvm-svn: 183898
* tsan: add -Wno-maybe-uninitialized to Go build scriptDmitry Vyukov2013-06-111-2/+2
| | | | | | this is how the rest of the codebase is built llvm-svn: 183738
* tsan: allows to suppress races on global variablesDmitry Vyukov2013-06-104-15/+70
| | | | llvm-svn: 183672
* tsan: disable getaddrinfo() interceptor for tsan (causes recursion)Dmitry Vyukov2013-06-101-0/+2
| | | | llvm-svn: 183649
* tsan: fix old gcc warningsDmitry Vyukov2013-06-101-2/+2
| | | | llvm-svn: 183645
* tsan: more detailed trace for atomic operations (include address and memory ↵Dmitry Vyukov2013-06-101-18/+19
| | | | | | ordering) llvm-svn: 183643
* [sanitizer] ioctl interceptor.Evgeniy Stepanov2013-06-072-0/+2
| | | | | | | ASan: disabled by default MSan: enabled by default TSan: disabled llvm-svn: 183517
* tsan: use memory access size for Go after allDmitry Vyukov2013-06-062-23/+1
| | | | | | helps to make range access functions correct and fast llvm-svn: 183418
* tsan: always strip bottom frame in Go reportsDmitry Vyukov2013-06-061-2/+3
| | | | llvm-svn: 183408
* [sanitizer] Fix __sanitizer_unaligned_* to work with unaligned data types.Evgeniy Stepanov2013-06-042-18/+18
| | | | llvm-svn: 183224
* [sanitizer] Intercept getpeername.Evgeniy Stepanov2013-05-292-0/+2
| | | | llvm-svn: 182844
* [sanitizer] Move TSan and MSan recvmsg interceptors to common.Evgeniy Stepanov2013-05-291-10/+0
| | | | llvm-svn: 182843
* tsan: match "race" suppressions against "race on vptr" reportsDmitry Vyukov2013-05-291-1/+7
| | | | llvm-svn: 182842
* [sanitizer] modf/modff/modfl interceptors.Evgeniy Stepanov2013-05-292-0/+6
| | | | llvm-svn: 182838
* Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching ↵Alexey Samsonov2013-05-292-2/+8
| | | | | | to a custom allocator. llvm-svn: 182836
* [sanitizer] Share TSan accept & accept4 interceptors with other sanitizers.Evgeniy Stepanov2013-05-291-34/+18
| | | | llvm-svn: 182835
* [tsan] Remove -Wgnu from Makefile.old.Evgeniy Stepanov2013-05-231-3/+0
| | | | llvm-svn: 182580
* [sanitizer] Intercept getsockopt.Evgeniy Stepanov2013-05-232-0/+2
| | | | llvm-svn: 182574
* [sanitizer] Interceptors for gethostbyname and friends.Evgeniy Stepanov2013-05-232-0/+16
| | | | llvm-svn: 182573
* [msan] Intercept getsockname.Evgeniy Stepanov2013-05-222-0/+2
| | | | llvm-svn: 182475
* [msan] getaddrinfo & nested interceptor support.Evgeniy Stepanov2013-05-222-0/+2
| | | | | | | | | Multiple connected changes: - Ignore reads from nested interceptors. - Check shadow on reads from common interceptors. - getaddrinfo interceptor. llvm-svn: 182466
* tsan: detect when a thread ends with ignores enabledDmitry Vyukov2013-05-212-2/+10
| | | | llvm-svn: 182354
* [sanitizer] Intercept pthread_getschedparam.Evgeniy Stepanov2013-05-212-0/+2
| | | | llvm-svn: 182353
* [nolibc] Move all platforms to internal_getpid.Peter Collingbourne2013-05-177-13/+15
| | | | | | | | | | Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. llvm-svn: 182132
* [nolibc] Begin moving sanitizer_common's libc-dependent code to a separate ↵Peter Collingbourne2013-05-171-0/+1
| | | | | | | | | | | | | | | | library Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. llvm-svn: 182118
* tsan: remove "printing report from signal handler. Can crash or hang" outputDmitry Vyukov2013-05-171-4/+0
| | | | | | | it was added to debug mysterious hangs, but it does not seem to happen anymore now it only clutter up output llvm-svn: 182089
* tsan: introduce recursive mutex lock/unlock java interfaceDmitry Vyukov2013-05-174-10/+47
| | | | | | this is required to handle Object.Wait() llvm-svn: 182088
* Add sanitizer syscall hooks to the tool's export lists.Evgeniy Stepanov2013-05-141-1/+5
| | | | llvm-svn: 181790
* [nolibc] Change internal syscall API to remove reliance on libc's errno.Peter Collingbourne2013-05-083-9/+13
| | | | | | | | | | | | | This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 llvm-svn: 181436
* [sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common.Sergey Matveev2013-05-074-49/+0
| | | | | | | | Move this function to sanitizer_common because LSan uses it too. Also, fix a bug where the TLS range reported for main thread was off by the size of the thread descriptor from libc (TSan doesn't care much, but for LSan it's critical). llvm-svn: 181322
* tsan: fix deadlock detector table (OK to lock sync var mutex during reporting)Dmitry Vyukov2013-04-301-2/+2
| | | | llvm-svn: 180782
* tsan: reverse stack trace for failed CHECK's, this is how we print traces in ↵Dmitry Vyukov2013-04-301-0/+5
| | | | | | other places llvm-svn: 180781
* tsan: add interface functions for unaligned access, e.g. ↵Dmitry Vyukov2013-04-304-0/+80
| | | | | | __sanitizer_unaligned_load16 llvm-svn: 180780
* tsan: fix stack traces for malloc and freeDmitry Vyukov2013-04-241-0/+4
| | | | llvm-svn: 180184
OpenPOWER on IntegriCloud