[PATCH] D73281: [LLD] Avoid exiting with a locked mutex NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 17:20:08 PST 2020


MaskRay added inline comments.


================
Comment at: lld/Common/ErrorHandler.cpp:66
+  {
+    std::lock_guard<std::mutex> lock(mu);
+    lld::outs().flush();
----------------
it does not seem that `exitLld` can be invoked concurrently.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73281/new/

https://reviews.llvm.org/D73281





More information about the llvm-commits mailing list