Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Hide mlock/munlock info message under verbosity flag. | Alexey Samsonov | 2013-07-01 | 1 | -1/+2 | |
| | | | | llvm-svn: 185314 | |||||
* | Fix typo found by Clang fix for extern "C" function handling. | Richard Smith | 2013-06-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 185234 | |||||
* | [sanitizer] Intercept ptrace. | Evgeniy Stepanov | 2013-06-28 | 2 | -0/+2 | |
| | | | | llvm-svn: 185142 | |||||
* | tsan: revert dynamic symbols file to the old incorrect one | Dmitry Vyukov | 2013-06-27 | 1 | -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 file | Dmitry Vyukov | 2013-06-27 | 1 | -12/+0 | |
| | | | | llvm-svn: 185077 | |||||
* | [tsan] Fix build. | Sergey Matveev | 2013-06-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 184963 | |||||
* | [tsan] Move some suppressions-related code to common. | Sergey Matveev | 2013-06-26 | 4 | -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 Stepanov | 2013-06-26 | 2 | -0/+8 | |
| | | | | llvm-svn: 184950 | |||||
* | tsan: add missing __attribute__((visibility("default"))) to interface functions | Dmitry Vyukov | 2013-06-25 | 1 | -0/+30 | |
| | | | | llvm-svn: 184858 | |||||
* | tsan: update dynamic export syms file | Dmitry Vyukov | 2013-06-24 | 1 | -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 Stepanov | 2013-06-24 | 2 | -0/+2 | |
| | | | | llvm-svn: 184739 | |||||
* | [sanitizer] Fix TSan build. | Evgeniy Stepanov | 2013-06-24 | 2 | -0/+2 | |
| | | | | llvm-svn: 184736 | |||||
* | [sanitizer] Intercept readv, preadv, writev, pwritev. | Evgeniy Stepanov | 2013-06-24 | 3 | -38/+4 | |
| | | | | llvm-svn: 184717 | |||||
* | tsan: fix potential false positive race on fd | Dmitry Vyukov | 2013-06-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 184430 | |||||
* | tsan: consistently use return pc as top frame pc | Dmitry Vyukov | 2013-06-17 | 5 | -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 suppressions | Alexey Samsonov | 2013-06-14 | 3 | -6/+7 | |
| | | | | llvm-svn: 183974 | |||||
* | tsan: fix Windows Go crash | Dmitry Vyukov | 2013-06-13 | 1 | -1/+3 | |
| | | | | llvm-svn: 183898 | |||||
* | tsan: add -Wno-maybe-uninitialized to Go build script | Dmitry Vyukov | 2013-06-11 | 1 | -2/+2 | |
| | | | | | | this is how the rest of the codebase is built llvm-svn: 183738 | |||||
* | tsan: allows to suppress races on global variables | Dmitry Vyukov | 2013-06-10 | 4 | -15/+70 | |
| | | | | llvm-svn: 183672 | |||||
* | tsan: disable getaddrinfo() interceptor for tsan (causes recursion) | Dmitry Vyukov | 2013-06-10 | 1 | -0/+2 | |
| | | | | llvm-svn: 183649 | |||||
* | tsan: fix old gcc warnings | Dmitry Vyukov | 2013-06-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 183645 | |||||
* | tsan: more detailed trace for atomic operations (include address and memory ↵ | Dmitry Vyukov | 2013-06-10 | 1 | -18/+19 | |
| | | | | | | ordering) llvm-svn: 183643 | |||||
* | [sanitizer] ioctl interceptor. | Evgeniy Stepanov | 2013-06-07 | 2 | -0/+2 | |
| | | | | | | | ASan: disabled by default MSan: enabled by default TSan: disabled llvm-svn: 183517 | |||||
* | tsan: use memory access size for Go after all | Dmitry Vyukov | 2013-06-06 | 2 | -23/+1 | |
| | | | | | | helps to make range access functions correct and fast llvm-svn: 183418 | |||||
* | tsan: always strip bottom frame in Go reports | Dmitry Vyukov | 2013-06-06 | 1 | -2/+3 | |
| | | | | llvm-svn: 183408 | |||||
* | [sanitizer] Fix __sanitizer_unaligned_* to work with unaligned data types. | Evgeniy Stepanov | 2013-06-04 | 2 | -18/+18 | |
| | | | | llvm-svn: 183224 | |||||
* | [sanitizer] Intercept getpeername. | Evgeniy Stepanov | 2013-05-29 | 2 | -0/+2 | |
| | | | | llvm-svn: 182844 | |||||
* | [sanitizer] Move TSan and MSan recvmsg interceptors to common. | Evgeniy Stepanov | 2013-05-29 | 1 | -10/+0 | |
| | | | | llvm-svn: 182843 | |||||
* | tsan: match "race" suppressions against "race on vptr" reports | Dmitry Vyukov | 2013-05-29 | 1 | -1/+7 | |
| | | | | llvm-svn: 182842 | |||||
* | [sanitizer] modf/modff/modfl interceptors. | Evgeniy Stepanov | 2013-05-29 | 2 | -0/+6 | |
| | | | | llvm-svn: 182838 | |||||
* | Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching ↵ | Alexey Samsonov | 2013-05-29 | 2 | -2/+8 | |
| | | | | | | to a custom allocator. llvm-svn: 182836 | |||||
* | [sanitizer] Share TSan accept & accept4 interceptors with other sanitizers. | Evgeniy Stepanov | 2013-05-29 | 1 | -34/+18 | |
| | | | | llvm-svn: 182835 | |||||
* | [tsan] Remove -Wgnu from Makefile.old. | Evgeniy Stepanov | 2013-05-23 | 1 | -3/+0 | |
| | | | | llvm-svn: 182580 | |||||
* | [sanitizer] Intercept getsockopt. | Evgeniy Stepanov | 2013-05-23 | 2 | -0/+2 | |
| | | | | llvm-svn: 182574 | |||||
* | [sanitizer] Interceptors for gethostbyname and friends. | Evgeniy Stepanov | 2013-05-23 | 2 | -0/+16 | |
| | | | | llvm-svn: 182573 | |||||
* | [msan] Intercept getsockname. | Evgeniy Stepanov | 2013-05-22 | 2 | -0/+2 | |
| | | | | llvm-svn: 182475 | |||||
* | [msan] getaddrinfo & nested interceptor support. | Evgeniy Stepanov | 2013-05-22 | 2 | -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 enabled | Dmitry Vyukov | 2013-05-21 | 2 | -2/+10 | |
| | | | | llvm-svn: 182354 | |||||
* | [sanitizer] Intercept pthread_getschedparam. | Evgeniy Stepanov | 2013-05-21 | 2 | -0/+2 | |
| | | | | llvm-svn: 182353 | |||||
* | [nolibc] Move all platforms to internal_getpid. | Peter Collingbourne | 2013-05-17 | 7 | -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 Collingbourne | 2013-05-17 | 1 | -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" output | Dmitry Vyukov | 2013-05-17 | 1 | -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 interface | Dmitry Vyukov | 2013-05-17 | 4 | -10/+47 | |
| | | | | | | this is required to handle Object.Wait() llvm-svn: 182088 | |||||
* | Add sanitizer syscall hooks to the tool's export lists. | Evgeniy Stepanov | 2013-05-14 | 1 | -1/+5 | |
| | | | | llvm-svn: 181790 | |||||
* | [nolibc] Change internal syscall API to remove reliance on libc's errno. | Peter Collingbourne | 2013-05-08 | 3 | -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 Matveev | 2013-05-07 | 4 | -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 Vyukov | 2013-04-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 180782 | |||||
* | tsan: reverse stack trace for failed CHECK's, this is how we print traces in ↵ | Dmitry Vyukov | 2013-04-30 | 1 | -0/+5 | |
| | | | | | | other places llvm-svn: 180781 | |||||
* | tsan: add interface functions for unaligned access, e.g. ↵ | Dmitry Vyukov | 2013-04-30 | 4 | -0/+80 | |
| | | | | | | __sanitizer_unaligned_load16 llvm-svn: 180780 | |||||
* | tsan: fix stack traces for malloc and free | Dmitry Vyukov | 2013-04-24 | 1 | -0/+4 | |
| | | | | llvm-svn: 180184 |