summaryrefslogtreecommitdiff
path: root/test/tsan/cond_cancel.c
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename .cc file in lib/tsan/rtl to .cppNico Weber2019-08-011-1/+1
| | | | | | | Like r367463, but for tsan/rtl. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367564 91177308-0d34-0410-b5e6-96231b3b80d8
* compiler-rt: Rename .cc file in lib/sanitizer_common to .cppNico Weber2019-07-311-1/+1
| | | | | | | | | | | | See https://reviews.llvm.org/D58620 for discussion, and for the commands I ran. In addition I also ran for f in $(svn diff | diffstat | grep .cc | cut -f 2 -d ' '); do rg $f . ; done and manually updated (many) references to renamed files found by that. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367463 91177308-0d34-0410-b5e6-96231b3b80d8
* [TSan] Do not run cond_cancel.c test on ppc64.Matt Morehouse2017-11-271-1/+1
| | | | | | | 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
* [power] Fix test case target checksBill Seurer2015-12-101-2/+2
| | | | | | | | | 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
* [PPC64, TSAN] LLVM basic enablement of thread sanitizer for PPC64 (BE and LE)Bill Schmidt2015-12-081-0/+8
| | | | | | | | | | | | | | | | | | | | 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
* tsan: handle async signals while blocked in pthread_cond_waitDmitry Vyukov2015-04-081-1/+6
| | | | | | | | 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
* tsan: remove sleeps from testsDmitry Vyukov2015-01-211-4/+5
| | | | | | | | | | 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
* Add %run to all lit testsGreg Fitzgerald2014-04-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: fix handling of pthread_cond_wait in presence of pthread_cancelDmitry Vyukov2014-03-121-0/+37
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