[llvm] [ORC] Fix synchronization in CoreAPIsTest. (PR #144556)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 17:11:46 PDT 2025


================
@@ -1559,16 +1559,13 @@ TEST_F(CoreAPIsStandardTest, TestLookupWithThreadedMaterialization) {
 #if LLVM_ENABLE_THREADS
 
   std::mutex WorkThreadsMutex;
-  std::vector<std::thread> WorkThreads;
+  SmallVector<std::thread,0> WorkThreads;
----------------
lhames wrote:

Is this change in vector type necessary? If not it'd be better to leave out.

https://github.com/llvm/llvm-project/pull/144556


More information about the llvm-commits mailing list