[llvm] Reduce llvm-gsymutil memory usage (lambda-free, and less locking) (PR #97640)

Kevin Frei via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 16:28:40 PDT 2024


================
@@ -653,6 +659,10 @@ bool DWARFUnit::parseDWO(StringRef DWOAlternativeLocation) {
 }
 
 void DWARFUnit::clearDIEs(bool KeepCUDie) {
+  // We need to acquire the FreeDIEsMutex lock in write-mode, because we are
----------------
kevinfrei wrote:

Oops: That slipped through. I'll update it.

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


More information about the llvm-commits mailing list