mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 10:26:06 +00:00

r299635 exposed a latent bug in the Linux implementation of parallel_for, which resulted in it calling the function outside of the range requested, resulting later in a segmentation fault. This change fixes this issue and adds a unit test. llvm-svn: 299748