================
@@ -130,8 +139,11 @@ Module *Module::GetAllocatedModuleAtIndex(size_t idx) {
return nullptr;
}
+// TODO: needs a mutex
----------------
labath wrote:
.. or you can make it an atomic.
https://github.com/llvm/llvm-project/pull/148877