================
@@ -563,27 +563,32 @@ void ReportDeadlock(ThreadState *thr, uptr pc, DDReport 
*r) {
 
 void ReportDestroyLocked(ThreadState *thr, uptr pc, uptr addr,
                          FastState last_lock, StackID creation_stack_id) {
-  ScopedReport rep(ReportTypeMutexDestroyLocked);
-  // Release locks before symbolizing and outputting the report to avoid
-  // deadlocks.
+  Tid tid;
+  DynamicMutexSet mset;
+  uptr tag;
----------------
thurstond wrote:

Can these be moved into the scope below?

https://github.com/llvm/llvm-project/pull/228643
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to