Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [TSan] Add initial support for buidling ThreadSanitizer runtime library with ↵ | Alexey Samsonov | 2012-09-13 | 2 | -5/+71 | |
| | | | | | | 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 | 7 | -10/+99 | |
| | | | | | | time (by not memorizing full stacks in traces) llvm-svn: 163322 | |||||
* | tsan: fix Go build script | Dmitry Vyukov | 2012-09-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 163320 | |||||
* | [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 | 12 | -10/+153 | |
| | | | | 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 | |||||
* | [Sanitizer] Remove lint checkers from our old makefiles in favor of buildbot | Alexey Samsonov | 2012-08-31 | 1 | -18/+1 | |
| | | | | llvm-svn: 162981 | |||||
* | [TSan] Fix style warinings in output test | Alexey Samsonov | 2012-08-31 | 1 | -5/+4 | |
| | | | | llvm-svn: 162980 | |||||
* | Whitespace/lint | Alexey Samsonov | 2012-08-30 | 5 | -14/+20 | |
| | | | | llvm-svn: 162909 | |||||
* | 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 | 12 | -30/+146 | |
| | | | | llvm-svn: 162902 | |||||
* | [tsan] fix tsan's Makefile.old -- our build bot still uses it (hopefully, ↵ | Kostya Serebryany | 2012-08-29 | 2 | -2/+2 | |
| | | | | | | 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 | 7 | -3/+50 | |
| | | | | 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: handle larger number of goroutines + fix a memory leak of goroutine ↵ | Dmitry Vyukov | 2012-08-13 | 2 | -9/+16 | |
| | | | | | | descriptors llvm-svn: 161770 | |||||
* | 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 | |||||
* | tsan: add ReleaseStore() function that merely copies vector clock rather ↵ | Dmitry Vyukov | 2012-07-28 | 8 | -7/+31 | |
| | | | | | | | | than combines two clocks fix clock setup for finalizer goroutine (Go runtime) llvm-svn: 160918 | |||||
* | tsan: add missing include | Dmitry Vyukov | 2012-07-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 160875 | |||||
* | tsan: change event handling from single HandleEvent() to a set of separate ↵ | Dmitry Vyukov | 2012-07-27 | 3 | -151/+137 | |
| | | | | | | functions (Go runtime) llvm-svn: 160863 | |||||
* | tasn: do not remember stack traces for sync objects for Go (they are not ↵ | Dmitry Vyukov | 2012-07-27 | 1 | -0/+2 | |
| | | | | | | reported anyway) llvm-svn: 160861 | |||||
* | tsan: remove unnecessary and wrong include | Dmitry Vyukov | 2012-07-27 | 1 | -1/+0 | |
| | | | | llvm-svn: 160860 |