[llvm] Reduce llvm-gsymutil memory usage (lambda-free, and less locking) (PR #97640)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 13:54:46 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
----------------
dwblaikie wrote:
This comment is out of date - the recursive_mutex isn't shared, so there's no "write-mode" at work here, I think?
https://github.com/llvm/llvm-project/pull/97640
More information about the llvm-commits
mailing list