Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [TSan] move replacement for new/delete back into tsan_interceptors | Alexey Samsonov | 2012-09-27 | 5 | -76/+46 | |
| | | | | llvm-svn: 164764 | |||||
* | [TSan] fork external symbolizer before starting internal threads | Alexey Samsonov | 2012-09-25 | 1 | -3/+3 | |
| | | | | llvm-svn: 164600 | |||||
* | [TSan] Provide replacements for operators new/delete instead of declaring ↵ | Alexey Samsonov | 2012-09-24 | 8 | -178/+181 | |
| | | | | | | extern C functions with weirdly mangled names (same strategy is used in ASan). llvm-svn: 164487 | |||||
* | [CMake][tsan] Compile .S files for tsan as C instead of CXX. | Michael J. Spencer | 2012-09-21 | 1 | -1/+1 | |
| | | | | | | Using CXX breaks if you add -stdlib=libc++ to CMAKE_CXX_FLAGS. llvm-svn: 164422 | |||||
* | tsan: fix gcc4.2.1 warning | Dmitry Vyukov | 2012-09-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 164200 | |||||
* | tsan: fix Go build | Dmitry Vyukov | 2012-09-19 | 2 | -1/+4 | |
| | | | | llvm-svn: 164198 | |||||
* | [TSan] If we detect an unlimited stack, try to re-exec with limited stack | Alexey Samsonov | 2012-09-17 | 1 | -0/+11 | |
| | | | | llvm-svn: 164021 | |||||
* | tsan: increase internal memory block limit 1GB->4GB | Dmitry Vyukov | 2012-09-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 164011 | |||||
* | [TSan] fix a typo in CMakeLists | Alexey Samsonov | 2012-09-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 163796 | |||||
* | [TSan] Use interface attribute for weak functions that may be overriden by user | Alexey Samsonov | 2012-09-13 | 2 | -0/+2 | |
| | | | | llvm-svn: 163795 | |||||
* | [TSan] Add initial support for buidling ThreadSanitizer runtime library with ↵ | Alexey Samsonov | 2012-09-13 | 1 | -0/+56 | |
| | | | | | | CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang llvm-svn: 163789 | |||||
* | [TSan] fix a bunch of warnings reported by pedantic gcc | Alexey Samsonov | 2012-09-13 | 12 | -17/+21 | |
| | | | | llvm-svn: 163788 | |||||
* | Revert the lockf() support. | Alexander Potapenko | 2012-09-11 | 3 | -38/+0 | |
| | | | | llvm-svn: 163614 | |||||
* | [Sanitizer] Get rid of dependency between sanitizer_common and asan/tsan ↵ | Alexey Samsonov | 2012-09-11 | 5 | -23/+8 | |
| | | | | | | runtimes: implement tool-specific Die and CheckFailed functions via callbacks llvm-svn: 163603 | |||||
* | Interceptors for lockf and lockf64, minor calloc() fix. | Alexander Potapenko | 2012-09-11 | 3 | -1/+45 | |
| | | | | llvm-svn: 163602 | |||||
* | tsan: ignore destruction of global mutexes (causes a lot of non-interesting ↵ | Dmitry Vyukov | 2012-09-07 | 3 | -1/+37 | |
| | | | | | | reports) llvm-svn: 163400 | |||||
* | tsan: fix code style | Dmitry Vyukov | 2012-09-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 163326 | |||||
* | tsan: increase max shadow stack size + reduce memory consumption at the same ↵ | Dmitry Vyukov | 2012-09-06 | 6 | -10/+19 | |
| | | | | | | time (by not memorizing full stacks in traces) llvm-svn: 163322 | |||||
* | [TSan] add support for running external symbolizer other than addr2line (for ↵ | Alexey Samsonov | 2012-09-06 | 4 | -7/+20 | |
| | | | | | | testing purposes) llvm-svn: 163297 | |||||
* | [Sanitizer] Remove implicit conversion of InternalScopedBuffer<T> to T* | Alexey Samsonov | 2012-09-05 | 6 | -17/+17 | |
| | | | | llvm-svn: 163197 | |||||
* | tsan: do not crash with obscure message if a user passes invalid arguments ↵ | Dmitry Vyukov | 2012-09-02 | 1 | -3/+5 | |
| | | | | | | to malloc/free/memset/etc llvm-svn: 163092 | |||||
* | tsan: insert cfi directives into assembly (not fully working for now, though) | Dmitry Vyukov | 2012-09-02 | 2 | -2/+93 | |
| | | | | llvm-svn: 163090 | |||||
* | tsan: more robust current thread stack restoration | Dmitry Vyukov | 2012-09-02 | 1 | -3/+5 | |
| | | | | llvm-svn: 163089 | |||||
* | tsan: better diagnostics for mutex misuse | Dmitry Vyukov | 2012-09-01 | 5 | -3/+19 | |
| | | | | llvm-svn: 163060 | |||||
* | tsan: fix crash when users pass insane mutex addresses in dynamic annotations | Dmitry Vyukov | 2012-08-31 | 1 | -7/+14 | |
| | | | | llvm-svn: 163016 | |||||
* | tsan: add "as if synchronized via sleep" feature | Dmitry Vyukov | 2012-08-31 | 9 | -8/+99 | |
| | | | | llvm-svn: 163006 | |||||
* | tsan: slightly optimize mutex unlock | Dmitry Vyukov | 2012-08-31 | 1 | -2/+2 | |
| | | | | llvm-svn: 162995 | |||||
* | tsan: more precise handling of atomic_store(memory_order_release) | Dmitry Vyukov | 2012-08-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 162994 | |||||
* | tsan: simplify TSAN_HISTORY_SIZE code | Dmitry Vyukov | 2012-08-30 | 1 | -4/+4 | |
| | | | | llvm-svn: 162905 | |||||
* | tsan: use stack depot to describe heap blocks | Dmitry Vyukov | 2012-08-30 | 8 | -12/+82 | |
| | | | | llvm-svn: 162902 | |||||
* | [tsan] fix tsan's Makefile.old -- our build bot still uses it (hopefully, ↵ | Kostya Serebryany | 2012-08-29 | 1 | -1/+1 | |
| | | | | | | will soon migrate to cmake completely) llvm-svn: 162832 | |||||
* | [Sanitizer] Rename ProcessMaps to MemoryMappingLayout and fix Windows build ↵ | Alexey Samsonov | 2012-08-27 | 1 | -1/+1 | |
| | | | | | | by providing stub implementation llvm-svn: 162671 | |||||
* | tsan: allow to override per-thread event trace size | Dmitry Vyukov | 2012-08-23 | 1 | -2/+6 | |
| | | | | | | useful if you don't see the second stack trace llvm-svn: 162456 | |||||
* | [TSan] switch tsan to using InternalScopedBuffer from sanitizer_common | Alexey Samsonov | 2012-08-22 | 7 | -63/+24 | |
| | | | | llvm-svn: 162351 | |||||
* | tsan: proper handling of linker initialized mutexes | Dmitry Vyukov | 2012-08-18 | 2 | -17/+19 | |
| | | | | llvm-svn: 162169 | |||||
* | tsan: Non-executable stack for hand-coded assembly | Dmitry Vyukov | 2012-08-17 | 1 | -0/+5 | |
| | | | | llvm-svn: 162112 | |||||
* | tsan: improve Go report format + fix build | Dmitry Vyukov | 2012-08-16 | 3 | -1/+6 | |
| | | | | llvm-svn: 162042 | |||||
* | tsan: add flag to disable reporting of destruction of locked mutexes (some ↵ | Dmitry Vyukov | 2012-08-16 | 3 | -1/+8 | |
| | | | | | | programs use that on a regular basis) llvm-svn: 162024 | |||||
* | tsan: better diagnostics for destroy of a locked mutex + a test | Dmitry Vyukov | 2012-08-16 | 6 | -3/+21 | |
| | | | | llvm-svn: 162022 | |||||
* | tsan: support for linker initializer mutexes with static storage duration | Dmitry Vyukov | 2012-08-16 | 3 | -9/+15 | |
| | | | | llvm-svn: 162021 | |||||
* | tsan: fix COMPAT shadow mapping once again | Dmitry Vyukov | 2012-08-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 162020 | |||||
* | tsan: implement RWLOCK annotations | Dmitry Vyukov | 2012-08-16 | 5 | -10/+27 | |
| | | | | llvm-svn: 162019 | |||||
* | tsan: fix COMPAT shadow mapping for new memory allocator | Dmitry Vyukov | 2012-08-16 | 2 | -6/+4 | |
| | | | | llvm-svn: 162018 | |||||
* | tsan: refactor cur_thread() -> thr | Dmitry Vyukov | 2012-08-16 | 1 | -56/+56 | |
| | | | | llvm-svn: 162017 | |||||
* | tsan: store sync objects in memory block headers + delete them when the ↵ | Dmitry Vyukov | 2012-08-15 | 2 | -1/+64 | |
| | | | | | | block is freed llvm-svn: 161959 | |||||
* | tsan: provide function that imitates write to a region but does not detect races | Dmitry Vyukov | 2012-08-15 | 2 | -3/+16 | |
| | | | | llvm-svn: 161957 | |||||
* | tsan: switch to new allocator | Dmitry Vyukov | 2012-08-15 | 9 | -37/+63 | |
| | | | | llvm-svn: 161953 | |||||
* | tsan: fix parameter type for pwrite64() interceptor | Dmitry Vyukov | 2012-08-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 161741 | |||||
* | [Sanitizer] Make ASan/TSan sources depend on headers from interception library | Alexey Samsonov | 2012-08-01 | 1 | -0/+2 | |
| | | | | llvm-svn: 161113 | |||||
* | [TSan] delete trailing spaces | Alexey Samsonov | 2012-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 160955 |