[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
codebase.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D59427
Files:
lldb/source/API/CMakeLists.txt
lldb/source/API/SBRegistryAF.cpp
lldb/source/API/SBRegistryGS.cpp
lldb/source/API/SBRegistryTZ.cpp
lldb/source/API/SBReproducer.cpp
lldb/source/API/SBReproducerPrivate.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59427.190872.patch
Type: text/x-patch
Size: 358732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190315/bc33e3e6/attachment-0001.bin>
More information about the lldb-commits
mailing list