summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/libdispatch/apply.c
Commit message (Collapse)AuthorAgeFilesLines
* [NFC][libdispatch] Improve a few testsJulian Lettner2019-04-021-1/+0
| | | | llvm-svn: 357510
* [NFC][TSan][libdispatch] Fix test for dispatch_apply[_f]Julian Lettner2019-03-181-12/+18
| | | | | | | | | | | | | | | | * Array index out of bounds: 100 iterations, but size of array is 2. * Unmatched barrier_init (2) with barrier_wait (200) * Number of iterations must be smaller than the available parallelism for the queue, otherwise we deadlock (since every barrier_wait call blocks the thread). Scary: All of this worked reliably in gcd-apply.mm (for Darwin) Rievewed By: kubamracek Differential Revision: https://reviews.llvm.org/D59510 llvm-svn: 356418
* [NFC][TSan] Move libdispatch tests into their own subfolderJulian Lettner2019-03-141-0/+52
Remove 'gcd' file prefix. GCD stands for Grand Central Dispatch, which is another name for libdispatch. https://apple.github.io/swift-corelibs-libdispatch/ Remove `REQUIRE: dispatch` from tests. Also rename lit feature 'dispatch' -> 'libdispatch' to be more explicit what this is about. Reviewed By: kubamracek Differential Revision: https://reviews.llvm.org/D59341 llvm-svn: 356202
OpenPOWER on IntegriCloud