summaryrefslogtreecommitdiff
path: root/test/tsan/cond_cancel.c
AgeCommit message (Collapse)Author
2017-11-27[TSan] Do not run cond_cancel.c test on ppc64.Matt Morehouse
After r319004, the expected failure on ppc64 manifests as an infinite loop. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319114 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-10[power] Fix test case target checksBill Seurer
Several test cases that used to fail on both power LE and BE now run correctly on LE. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255262 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-08[PPC64, TSAN] LLVM basic enablement of thread sanitizer for PPC64 (BE and LE)Bill Schmidt
This patch is by Simone Atzeni with portions by Adhemerval Zanella. This contains the LLVM patches to enable the thread sanitizer for PPC64, both big- and little-endian. Two different virtual memory sizes are supported: Old kernels use a 44-bit address space, while newer kernels require a 46-bit address space. There are two companion patches that will be added shortly. There is a Clang patch to actually turn on the use of the thread sanitizer for PPC64. There is also a patch that I wrote to provide interceptor support for setjmp/longjmp on PPC64. Patch discussion at reviews.llvm.org/D12841. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255057 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-08tsan: handle async signals while blocked in pthread_cond_waitDmitry Vyukov
Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=91 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@234394 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-21tsan: remove sleeps from testsDmitry Vyukov
Even sleep(1) lead to episodical flakes on some machines. Use an invisible by tsan barrier to enforce required execution order instead. This makes the tests deterministic and faster. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@226659 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-30Add %run to all lit testsGreg Fitzgerald
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-12tsan: fix handling of pthread_cond_wait in presence of pthread_cancelDmitry Vyukov
if the thread is cancelled in pthread_cond_wait, it locks the mutex before processing pthread_cleanup stack but tsan was missing that, thus reporting false double-lock/wrong-unlock errors see the test for details git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203648 91177308-0d34-0410-b5e6-96231b3b80d8