| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tsan: deflake more tests | Dmitry Vyukov | 2013-11-28 | 2 | -0/+3 |
| | | | | | llvm-svn: 195916 | ||||
| * | tsan: deflake more tests | Dmitry Vyukov | 2013-11-28 | 2 | -0/+4 |
| | | | | | llvm-svn: 195913 | ||||
| * | tsan: better diagnostics if thread finishes with ignores enabled | Dmitry Vyukov | 2013-11-27 | 3 | -4/+34 |
| | | | | | | | | print thread creation stack and stacks where ignores were enabled. llvm-svn: 195836 | ||||
| * | tsan: deflake tests | Dmitry Vyukov | 2013-11-21 | 2 | -0/+3 |
| | | | | | | | | | the tests produce episodic flakes the hypothesis is that it's due to our "racy" race detection algorithm sleeps should remove the flakes llvm-svn: 195351 | ||||
| * | tsan: add -lm to output test build script | Dmitry Vyukov | 2013-11-21 | 1 | -1/+1 |
| | | | | | | | as common sanitizer interceptors now require it llvm-svn: 195346 | ||||
| * | [tsan] use FileCheck in race_on_speculative_load.cc | Kostya Serebryany | 2013-11-21 | 1 | -1/+4 |
| | | | | | llvm-svn: 195331 | ||||
| * | [tsan] add a run-time-side regression test for ↵ | Kostya Serebryany | 2013-11-21 | 1 | -0/+24 |
| | | | | | | | https://code.google.com/p/thread-sanitizer/issues/detail?id=40 (tsan-hostile load speculation) llvm-svn: 195325 | ||||
| * | tsan: add support for robust mutexes | Dmitry Vyukov | 2013-11-15 | 2 | -0/+77 |
| | | | | | llvm-svn: 194823 | ||||
| * | tsan/asan: support pthread_setname_np to set thread names | Dmitry Vyukov | 2013-10-29 | 1 | -0/+32 |
| | | | | | llvm-svn: 193602 | ||||
| * | tsan: merge 2 similar tests into 1 | Dmitry Vyukov | 2013-10-17 | 3 | -40/+8 |
| | | | | | llvm-svn: 192874 | ||||
| * | tsan: add a test for __tsan_default_options() | Dmitry Vyukov | 2013-10-17 | 1 | -0/+32 |
| | | | | | llvm-svn: 192873 | ||||
| * | tsan: revert variable name change in test | Dmitry Vyukov | 2013-10-16 | 1 | -5/+5 |
| | | | | | | | It works as is with new llvm-symbolizer. llvm-svn: 192798 | ||||
| * | tsan: move shadow stack from thread descriptors to fixed addresses | Dmitry Vyukov | 2013-10-16 | 3 | -5/+81 |
| | | | | | | | | | This allows to increase max shadow stack size to 64K, and reliably catch shadow stack overflows instead of silently corrupting memory. llvm-svn: 192797 | ||||
| * | [TSan] Extend test for reporting globals with races on them | Alexey Samsonov | 2013-10-16 | 1 | -3/+20 |
| | | | | | llvm-svn: 192782 | ||||
| * | tsan: add annotations to ignore synchronization operations | Dmitry Vyukov | 2013-10-10 | 1 | -0/+30 |
| | | | | | | | | | The annotations are AnnotateIgnoreSyncBegin/End, may be useful to ignore some infrastructure synchronization that introduces lots of false negatives. llvm-svn: 192355 | ||||
| * | [TSan] Automatically pick up llvm-symbolizer from PATH, as we do in another ↵ | Alexey Samsonov | 2013-10-04 | 2 | -10/+0 |
| | | | | | | | sanitizers llvm-svn: 191954 | ||||
| * | tsan: ignore interceptors coming from specified libraries | Dmitry Vyukov | 2013-10-03 | 11 | -2/+171 |
| | | | | | | | | | | | | | | 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. llvm-svn: 191897 | ||||
| * | tsan: support allocator_may_return_null flag | Dmitry Vyukov | 2013-09-27 | 1 | -2/+0 |
| | | | | | | | Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=29 llvm-svn: 191482 | ||||
| * | tsan: ignore all interceptors coming directly from JVM | Dmitry Vyukov | 2013-09-21 | 3 | -0/+3 |
| | | | | | llvm-svn: 191152 | ||||
| * | tsan: allow to ignore memory accesses in malloc and free | Dmitry Vyukov | 2013-09-20 | 2 | -0/+73 |
| | | | | | llvm-svn: 191072 | ||||
| * | [TSan] Use --whole-archive around TSan runtime in old TSan makefiles. Fix a ↵ | Alexey Samsonov | 2013-09-11 | 1 | -1/+1 |
| | | | | | | | Go build llvm-svn: 190513 | ||||
| * | [tsan] make calloc crash instead of returning 0 on overflow (controlled by ↵ | Kostya Serebryany | 2013-09-06 | 2 | -1/+68 |
| | | | | | | | the allocator_may_return_null flag) llvm-svn: 190135 | ||||
| * | tsan: catch races on condition variables | Dmitry Vyukov | 2013-09-03 | 2 | -0/+89 |
| | | | | | llvm-svn: 189816 | ||||
| * | tsan: properly intercept pthread_cond functions | Dmitry Vyukov | 2013-09-02 | 2 | -1/+45 |
| | | | | | llvm-svn: 189767 | ||||
| * | tsan/msan: add halt_on_error flag | Dmitry Vyukov | 2013-08-13 | 1 | -0/+25 |
| | | | | | | | If halt_on_error==true, program terminates after reporting first error. llvm-svn: 188279 | ||||
| * | Add "CHECK-" prefix to un-break buildbot failure. | Rui Ueyama | 2013-08-12 | 1 | -2/+2 |
| | | | | | | | | After r188221, the prefix given by --check-prefix must match with the label as a whole. Substring is not considered to be a correct label anymore. llvm-svn: 188227 | ||||
| * | [tests] Update to use lit_config and lit package, as appropriate. | Daniel Dunbar | 2013-08-09 | 4 | -16/+20 |
| | | | | | llvm-svn: 188116 | ||||
| * | [TSan] Fix free_race.c by removing `not` from the test invocation that ↵ | Alexander Potapenko | 2013-08-07 | 1 | -3/+2 |
| | | | | | | | doesn't fail. llvm-svn: 187889 | ||||
| * | [TSan] Let the users suppress use-after-free errors using the "race:" ↵ | Alexander Potapenko | 2013-08-07 | 2 | -9/+17 |
| | | | | | | | | | | | | | | | | suppressions. If there's a race between a memory access and a free() call in the client program, it can be reported as a use-after-free (if the access occurs after the free()) or an ordinary race (if free() occurs after the access). We've decided to use a single "race:" prefix for both cases instead of introducing a "use-after-free:" one, because in many cases this allows us to keep a single suppression for both the use-after-free and free-after-use. This may be misleading if the use-after-free occurs in a non-racy way (e.g. in a single-threaded program). But normally such bugs shall not be suppressed. llvm-svn: 187885 | ||||
| * | Enable pipefail for TSan tests | Alexey Samsonov | 2013-08-07 | 65 | -66/+64 |
| | | | | | llvm-svn: 187875 | ||||
| * | Disable pipefail for ThreadSanitizer. | Rafael Espindola | 2013-07-26 | 1 | -0/+2 |
| | | | | | llvm-svn: 187272 | ||||
| * | Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605 | Hans Wennborg | 2013-07-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 186607 | ||||
| * | tsan: support sigsuspend() call | Dmitry Vyukov | 2013-07-16 | 1 | -0/+38 |
| | | | | | | | Intercepting it makes it process pending signal before return. llvm-svn: 186400 | ||||
| * | Define the path to llvm-symbolizer tool in a common config to reduce copy-paste | Alexey Samsonov | 2013-06-30 | 1 | -5/+2 |
| | | | | | llvm-svn: 185286 | ||||
| * | tsan: make the test more robust | Dmitry Vyukov | 2013-06-24 | 1 | -2/+8 |
| | | | | | | | | | currently it episodically fails the hypothesis it is due to racy race detection algorithm the sleep should make it more robust llvm-svn: 184752 | ||||
| * | tsan: fix potential false positive race on fd | Dmitry Vyukov | 2013-06-20 | 1 | -0/+30 |
| | | | | | llvm-svn: 184430 | ||||
| * | tsan: fix lit test failures | Dmitry Vyukov | 2013-06-10 | 3 | -0/+3 |
| | | | | | llvm-svn: 183674 | ||||
| * | tsan: add system tests for suppressions | Dmitry Vyukov | 2013-06-10 | 7 | -0/+98 |
| | | | | | llvm-svn: 183673 | ||||
| * | Remove a bunch of copy-paste: use common config for sanitizer lit/unit tests | Alexey Samsonov | 2013-06-06 | 4 | -45/+6 |
| | | | | | llvm-svn: 183407 | ||||
| * | Improve support for compiler-rt tests in CMake build. | Alexey Samsonov | 2013-05-27 | 4 | -13/+15 |
| | | | | | | | | | Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! llvm-svn: 182726 | ||||
| * | tsan: detect when a thread ends with ignores enabled | Dmitry Vyukov | 2013-05-21 | 2 | -0/+28 |
| | | | | | llvm-svn: 182354 | ||||
| * | tsan: introduce recursive mutex lock/unlock java interface | Dmitry Vyukov | 2013-05-17 | 3 | -0/+104 |
| | | | | | | | this is required to handle Object.Wait() llvm-svn: 182088 | ||||
| * | tsan: comment out debug output in test | Dmitry Vyukov | 2013-04-30 | 1 | -5/+3 |
| | | | | | llvm-svn: 180787 | ||||
| * | tsan: fix deadlock detector table (OK to lock sync var mutex during reporting) | Dmitry Vyukov | 2013-04-30 | 1 | -0/+39 |
| | | | | | llvm-svn: 180782 | ||||
| * | tsan: add interface functions for unaligned access, e.g. ↵ | Dmitry Vyukov | 2013-04-30 | 2 | -0/+221 |
| | | | | | | | __sanitizer_unaligned_load16 llvm-svn: 180780 | ||||
| * | tsan: add a test that used to crash, fixed by r180180. | Dmitry Vyukov | 2013-04-25 | 1 | -0/+24 |
| | | | | | llvm-svn: 180251 | ||||
| * | tsan: fix stack traces for malloc and free | Dmitry Vyukov | 2013-04-24 | 1 | -0/+25 |
| | | | | | llvm-svn: 180184 | ||||
| * | [TSan] remove -fPIE -pie from TSan lit tests to check that -fsanitize=thread ↵ | Alexey Samsonov | 2013-04-12 | 1 | -2/+0 |
| | | | | | | | implies them now llvm-svn: 179365 | ||||
| * | Explicitly list all sanitizer headers in CMake build rules. Make sure ↵ | Alexey Samsonov | 2013-04-11 | 1 | -3/+2 |
| | | | | | | | sanitizer lit_tests depend on fresh headers. llvm-svn: 179293 | ||||
| * | [Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run ↵ | Alexey Samsonov | 2013-04-09 | 1 | -0/+4 |
| | | | | | | | load_shared_lib test only in lit llvm-svn: 179090 | ||||

