[ORC] Join materialization thread in unit test
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 23 Mar 2018 10:14:19 +0000 (10:14 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 23 Mar 2018 10:14:19 +0000 (10:14 +0000)
commitfbd4df2176a8d2d2f21d1bed9bddcda4f56f17ce
treeca18c55a9a9ec988d88b5fb48e82b22c0bf92de4
parent54634f19907efa692681e80f3b134808c10b2e35
[ORC] Join materialization thread in unit test

There's are race between this thread and the destructor of the test ORC
components on the main threads. I saw flaky failures there in about 4%
of the runs of this unit test.

llvm-svn: 328300
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp