[llvm] Reduce llvm-gsymutil memory usage (PR #91023)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 17:05:37 PDT 2024
================
@@ -629,6 +639,9 @@ Error DwarfTransformer::convert(uint32_t NumThreads, OutputAggregator &Out) {
}
pool.wait();
}
+ // Now get rid of all the DIEs that may have been recreated
+ for (const auto &CU : DICtx.compile_units())
+ CU->clearDIEs(false);
----------------
jeffreytan81 wrote:
Nit: `(/*KeepCUDie=*/false)`
https://github.com/llvm/llvm-project/pull/91023
More information about the llvm-commits
mailing list