Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | [asan] relax Linux/zero-base-shadow.cc to make it pass on newer Ubuntu; fix lint | Kostya Serebryany | 2013-04-09 | 1 | -2/+2 | |
| | | | | llvm-svn: 179088 | |||||
* | [libsymbolized] If we can't find an address in the list of shared libraries, ↵ | Alexander Potapenko | 2013-04-08 | 3 | -0/+70 | |
| | | | | | | | | | | | try to reload it. Add a regression test for the case where such behavior helps TSan: 1. race is reported in the main module 2. new shared library is loaded 3. race is reported in the shared library llvm-svn: 179032 | |||||
* | [TSan] Add the WTFAnnotateBenignRaceSized implementation and a test for | Alexander Potapenko | 2013-04-02 | 1 | -0/+39 | |
| | | | | | | WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized. llvm-svn: 178534 | |||||
* | [tsan] a test checking that memset/memcpy/memmove are not inlined in tsan mode | Kostya Serebryany | 2013-03-28 | 1 | -8/+36 | |
| | | | | llvm-svn: 178231 | |||||
* | [tsan] don't use -fno-builtin for tests; add a test for a false negative bug ↵ | Kostya Serebryany | 2013-03-28 | 3 | -2/+28 | |
| | | | | | | (inlined memcpy is not instrumented) llvm-svn: 178228 | |||||
* | [TSan] Fixup for r178128: verify that TSan indeed doesn't report race | Alexey Samsonov | 2013-03-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 178129 | |||||
* | [TSan] Run test output through FileCheck | Alexey Samsonov | 2013-03-27 | 1 | -1/+3 | |
| | | | | llvm-svn: 178128 | |||||
* | [tsan] make memcpy_race.cc test immune to memcpy inlining | Kostya Serebryany | 2013-03-26 | 1 | -2/+4 | |
| | | | | llvm-svn: 178011 | |||||
* | [tsan] add a test for aligned-vs-unaligned race (tsan's false negative) | Kostya Serebryany | 2013-03-26 | 1 | -0/+30 | |
| | | | | llvm-svn: 177996 | |||||
* | tsan: intercept setjmp/longjmp | Dmitry Vyukov | 2013-03-25 | 4 | -0/+145 | |
| | | | | llvm-svn: 177858 | |||||
* | tsan: return 0 on malloc() failure instead of crashing | Dmitry Vyukov | 2013-03-22 | 1 | -0/+22 | |
| | | | | llvm-svn: 177741 | |||||
* | tsan: test that tsan explicitly says "race on vptr". | Dmitry Vyukov | 2013-03-22 | 1 | -1/+1 | |
| | | | | | | Requires llvm r177717. llvm-svn: 177726 | |||||
* | tsan: work around FileCheck bug with empty outputs | Dmitry Vyukov | 2013-03-22 | 1 | -0/+2 | |
| | | | | llvm-svn: 177715 | |||||
* | tsan: better reporting of thread leaks | Dmitry Vyukov | 2013-03-21 | 3 | -0/+37 | |
| | | | | | | | 1. do not report running threads as leaks 2. aggregate leaked threads by creation stack llvm-svn: 177647 | |||||
* | tsan: better reporting for races on vptr | Dmitry Vyukov | 2013-03-21 | 2 | -1/+54 | |
| | | | | | | explicitly say "ctor/dtor vs virtual call" llvm-svn: 177640 | |||||
* | tsan: reduce size of mutexsets from 64 to 16 mutexes | Dmitry Vyukov | 2013-03-20 | 1 | -0/+2 | |
| | | | | | | | overflow is handled anyway saves memory because each thread holds 1024 mutexsets llvm-svn: 177520 | |||||
* | tsan: fix flaky test | Dmitry Vyukov | 2013-03-20 | 1 | -0/+1 | |
| | | | | llvm-svn: 177500 | |||||
* | tsan: fix incorrect test | Dmitry Vyukov | 2013-03-20 | 1 | -0/+2 | |
| | | | | llvm-svn: 177499 | |||||
* | [sanitizer] Replace more platform checks with SANITIZER_ constants. | Evgeniy Stepanov | 2013-03-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 177400 | |||||
* | [TSan] Makefiles: allow configurable paths to clang and FileCheck. Add ↵ | Alexey Samsonov | 2013-03-18 | 1 | -4/+5 | |
| | | | | | | -fno-rtti flag. llvm-svn: 177247 | |||||
* | [tsan] enable tsan-vs-gvn test since it is now fixed | Kostya Serebryany | 2013-02-26 | 1 | -2/+1 | |
| | | | | llvm-svn: 176079 | |||||
* | [tsan] disable a failing test until it gets fixed. fix lint | Kostya Serebryany | 2013-02-14 | 1 | -1/+2 | |
| | | | | llvm-svn: 175137 | |||||
* | [tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint | Kostya Serebryany | 2013-02-13 | 1 | -7/+5 | |
| | | | | llvm-svn: 175037 | |||||
* | [tsan] added tsan-vs-gvn test | Kostya Serebryany | 2013-02-11 | 1 | -0/+40 | |
| | | | | llvm-svn: 174875 | |||||
* | [tsan] race_on_write test | Kostya Serebryany | 2013-02-07 | 1 | -0/+39 | |
| | | | | llvm-svn: 174599 | |||||
* | [tsan] improve FrameIsInternal | Kostya Serebryany | 2013-02-06 | 1 | -0/+4 | |
| | | | | llvm-svn: 174506 | |||||
* | [tsan] print error summary line | Kostya Serebryany | 2013-02-06 | 6 | -4/+10 | |
| | | | | llvm-svn: 174505 | |||||
* | tsan: even if races between atomic and plain memory accesses are turned off ↵ | Dmitry Vyukov | 2013-02-01 | 3 | -0/+62 | |
| | | | | | | | | (report_atomic_races=0), still report races between atomic accesses and free(). llvm-svn: 174175 | |||||
* | tsan: say that the memory access is atomic in reports | Dmitry Vyukov | 2013-02-01 | 2 | -1/+30 | |
| | | | | llvm-svn: 174168 | |||||
* | tsan: detect races between plain and atomic memory accesses | Dmitry Vyukov | 2013-02-01 | 2 | -0/+137 | |
| | | | | llvm-svn: 174163 | |||||
* | Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to ↵ | Alexey Samsonov | 2013-01-30 | 1 | -1/+2 | |
| | | | | | | match the behavior of llvm unittests llvm-svn: 173926 | |||||
* | [TSan] relax output tests a bit to make them pass in gcc build | Alexey Samsonov | 2013-01-30 | 4 | -6/+6 | |
| | | | | llvm-svn: 173913 | |||||
* | [tsan] Fix checks for siginfo_t in tests | Will Dietz | 2013-01-29 | 2 | -2/+2 | |
| | | | | llvm-svn: 173815 | |||||
* | [tsan] fix thread_name.cc test to work with older versions of libc | Kostya Serebryany | 2013-01-21 | 1 | -0/+4 | |
| | | | | llvm-svn: 173023 |