diff options
author | Julian Lettner <jlettner@apple.com> | 2019-03-18 21:55:41 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-03-18 21:55:41 +0000 |
commit | 181435565595a637f524a5a18fd12d9b52568f33 (patch) | |
tree | 7a76e3c0be41fe88fd5a14e8c5f531c65b7c41f8 /llvm/lib | |
parent | 61b302f94fd9983651bf210c8a1c0b116612022a (diff) | |
download | bcm5719-llvm-181435565595a637f524a5a18fd12d9b52568f33.tar.gz bcm5719-llvm-181435565595a637f524a5a18fd12d9b52568f33.zip |
[NFC][TSan][libdispatch] Fix test for dispatch_apply[_f]
* 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
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions