[Openmp-commits] [openmp] [Libomptarget] Pass '-Werror=global-constructors' to the libomptarget build (PR #88531)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 16 06:18:08 PDT 2024


================
@@ -54,7 +54,7 @@ struct RecordReplayTy {
   size_t MemorySize = 0;
   size_t TotalSize = 0;
   GenericDeviceTy *Device = nullptr;
-  std::mutex AllocationLock;
+  std::mutex AllocationLock{};
----------------
jhuber6 wrote:

That was me trying to make it trivially constructable, but then realized the issue is the vector.

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


More information about the Openmp-commits mailing list