summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/lit_tests
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: make the test more robustDmitry Vyukov2013-06-241-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 fdDmitry Vyukov2013-06-201-0/+30
| | | | llvm-svn: 184430
* tsan: fix lit test failuresDmitry Vyukov2013-06-103-0/+3
| | | | llvm-svn: 183674
* tsan: add system tests for suppressionsDmitry Vyukov2013-06-107-0/+98
| | | | llvm-svn: 183673
* Remove a bunch of copy-paste: use common config for sanitizer lit/unit testsAlexey Samsonov2013-06-064-45/+6
| | | | llvm-svn: 183407
* Improve support for compiler-rt tests in CMake build.Alexey Samsonov2013-05-274-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 enabledDmitry Vyukov2013-05-212-0/+28
| | | | llvm-svn: 182354
* tsan: introduce recursive mutex lock/unlock java interfaceDmitry Vyukov2013-05-173-0/+104
| | | | | | this is required to handle Object.Wait() llvm-svn: 182088
* tsan: comment out debug output in testDmitry Vyukov2013-04-301-5/+3
| | | | llvm-svn: 180787
* tsan: fix deadlock detector table (OK to lock sync var mutex during reporting)Dmitry Vyukov2013-04-301-0/+39
| | | | llvm-svn: 180782
* tsan: add interface functions for unaligned access, e.g. ↵Dmitry Vyukov2013-04-302-0/+221
| | | | | | __sanitizer_unaligned_load16 llvm-svn: 180780
* tsan: add a test that used to crash, fixed by r180180.Dmitry Vyukov2013-04-251-0/+24
| | | | llvm-svn: 180251
* tsan: fix stack traces for malloc and freeDmitry Vyukov2013-04-241-0/+25
| | | | llvm-svn: 180184
* [TSan] remove -fPIE -pie from TSan lit tests to check that -fsanitize=thread ↵Alexey Samsonov2013-04-121-2/+0
| | | | | | implies them now llvm-svn: 179365
* Explicitly list all sanitizer headers in CMake build rules. Make sure ↵Alexey Samsonov2013-04-111-3/+2
| | | | | | sanitizer lit_tests depend on fresh headers. llvm-svn: 179293
* [Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run ↵Alexey Samsonov2013-04-091-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 lintKostya Serebryany2013-04-091-2/+2
| | | | llvm-svn: 179088
* [libsymbolized] If we can't find an address in the list of shared libraries, ↵Alexander Potapenko2013-04-083-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 forAlexander Potapenko2013-04-021-0/+39
| | | | | | WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized. llvm-svn: 178534
* [tsan] a test checking that memset/memcpy/memmove are not inlined in tsan modeKostya Serebryany2013-03-281-8/+36
| | | | llvm-svn: 178231
* [tsan] don't use -fno-builtin for tests; add a test for a false negative bug ↵Kostya Serebryany2013-03-283-2/+28
| | | | | | (inlined memcpy is not instrumented) llvm-svn: 178228
* [TSan] Fixup for r178128: verify that TSan indeed doesn't report raceAlexey Samsonov2013-03-271-0/+2
| | | | llvm-svn: 178129
* [TSan] Run test output through FileCheckAlexey Samsonov2013-03-271-1/+3
| | | | llvm-svn: 178128
* [tsan] make memcpy_race.cc test immune to memcpy inliningKostya Serebryany2013-03-261-2/+4
| | | | llvm-svn: 178011
* [tsan] add a test for aligned-vs-unaligned race (tsan's false negative)Kostya Serebryany2013-03-261-0/+30
| | | | llvm-svn: 177996
* tsan: intercept setjmp/longjmpDmitry Vyukov2013-03-254-0/+145
| | | | llvm-svn: 177858
* tsan: return 0 on malloc() failure instead of crashingDmitry Vyukov2013-03-221-0/+22
| | | | llvm-svn: 177741
* tsan: test that tsan explicitly says "race on vptr".Dmitry Vyukov2013-03-221-1/+1
| | | | | | Requires llvm r177717. llvm-svn: 177726
* tsan: work around FileCheck bug with empty outputsDmitry Vyukov2013-03-221-0/+2
| | | | llvm-svn: 177715
* tsan: better reporting of thread leaksDmitry Vyukov2013-03-213-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 vptrDmitry Vyukov2013-03-212-1/+54
| | | | | | explicitly say "ctor/dtor vs virtual call" llvm-svn: 177640
* tsan: reduce size of mutexsets from 64 to 16 mutexesDmitry Vyukov2013-03-201-0/+2
| | | | | | | overflow is handled anyway saves memory because each thread holds 1024 mutexsets llvm-svn: 177520
* tsan: fix flaky testDmitry Vyukov2013-03-201-0/+1
| | | | llvm-svn: 177500
* tsan: fix incorrect testDmitry Vyukov2013-03-201-0/+2
| | | | llvm-svn: 177499
* [sanitizer] Replace more platform checks with SANITIZER_ constants.Evgeniy Stepanov2013-03-191-1/+1
| | | | llvm-svn: 177400
* [TSan] Makefiles: allow configurable paths to clang and FileCheck. Add ↵Alexey Samsonov2013-03-181-4/+5
| | | | | | -fno-rtti flag. llvm-svn: 177247
* [tsan] enable tsan-vs-gvn test since it is now fixedKostya Serebryany2013-02-261-2/+1
| | | | llvm-svn: 176079
* [tsan] disable a failing test until it gets fixed. fix lintKostya Serebryany2013-02-141-1/+2
| | | | llvm-svn: 175137
* [tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint Kostya Serebryany2013-02-131-7/+5
| | | | llvm-svn: 175037
* [tsan] added tsan-vs-gvn testKostya Serebryany2013-02-111-0/+40
| | | | llvm-svn: 174875
* [tsan] race_on_write testKostya Serebryany2013-02-071-0/+39
| | | | llvm-svn: 174599
* [tsan] improve FrameIsInternalKostya Serebryany2013-02-061-0/+4
| | | | llvm-svn: 174506
* [tsan] print error summary lineKostya Serebryany2013-02-066-4/+10
| | | | llvm-svn: 174505
* tsan: even if races between atomic and plain memory accesses are turned off ↵Dmitry Vyukov2013-02-013-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 reportsDmitry Vyukov2013-02-012-1/+30
| | | | llvm-svn: 174168
* tsan: detect races between plain and atomic memory accessesDmitry Vyukov2013-02-012-0/+137
| | | | llvm-svn: 174163
* Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to ↵Alexey Samsonov2013-01-301-1/+2
| | | | | | match the behavior of llvm unittests llvm-svn: 173926
* [TSan] relax output tests a bit to make them pass in gcc buildAlexey Samsonov2013-01-304-6/+6
| | | | llvm-svn: 173913
* [tsan] Fix checks for siginfo_t in testsWill Dietz2013-01-292-2/+2
| | | | llvm-svn: 173815
* [tsan] fix thread_name.cc test to work with older versions of libcKostya Serebryany2013-01-211-0/+4
| | | | llvm-svn: 173023
OpenPOWER on IntegriCloud