[ORC] Add more synchronization to TestLookupWithUnthreadedMaterialization.
authorLang Hames <lhames@gmail.com>
Sat, 22 May 2021 14:55:12 +0000 (07:55 -0700)
committerLang Hames <lhames@gmail.com>
Sat, 22 May 2021 14:59:24 +0000 (07:59 -0700)
commit1a1d6e6f98738be249b20994bcfed48dccac59e3
treeceba0f962980b1cb82902450a9fac5b37860ea93
parent2b45895df46e3e87b9588bd207f417d2d2fe7482
[ORC] Add more synchronization to TestLookupWithUnthreadedMaterialization.

Don't run tasks until their corresponding thread has been added to the running
threads vector. This is an extention to fda4300da82, which doesn't seem to have
been enough to fix the synchronization issues on its own.
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp