[Lldb-commits] [PATCH] D59427: [lldb] [API] Split SBRegistry into smaller files
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 15 12:21:57 PDT 2019
mgorny created this revision.
mgorny added reviewers: JDevlieghere, labath, krytarowski.
Herald added subscribers: jdoerfert, abidh.
Herald added a project: LLDB.
Split SBRegistry constructor into smaller sub-functions, and move them
to separate files, in order to reduce the memory footprint
of the compiler. The current humongous constructor exhausts all memory
on a NetBSD system with 4G RAM and 4G swap, therefore making it
impossible to build LLDB. After splitting it into three parts, it fits
with footprint close to the most memory-consuming source files in LLVM
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 358732 bytes
Desc: not available
More information about the lldb-commits