[PATCH] D51618: [dsymutil] Reduce peak memory usage for the single threaded execution.
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 4 11:01:18 PDT 2018
JDevlieghere added inline comments.
================
Comment at: llvm/tools/dsymutil/DwarfLinker.cpp:2618
+
+ // To limit memory consumption in the single threaded case we always analyze
+ // and clone together, so we can clear the LinkContext before moving on.
----------------
aprantl wrote:
> `... analyze and clone are run sequentially, so the LinkContext may be freed.`
> where is this actually happening?
We clear the context in endDebugObject.
https://reviews.llvm.org/D51618
More information about the llvm-commits
mailing list