You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DWARFLinker] Release input DWARF after object has been linked (llvm#68376)
dsymutil is using an excessive amount of memory because it's holding on
to the DWARF Context, even after it's done processing the corresponding
object file. This patch releases the input DWARF after cloning, at which
point it is no longer needed. This has always been the intended
behavior, though I didn't bisect to figure out when this regressed.
When linking swift, this reduces peak (dirty) memory usage from 25 to 15
gigabytes.
rdar://111525100
0 commit comments