HomePhabricator

[lldb] [Reproducer] Move SBRegistry registration into declaring files

Description

[lldb] [Reproducer] Move SBRegistry registration into declaring files

Move SBRegistry method registrations from SBReproducer.cpp into files
declaring the individual APIs, in order to reduce the memory consumption
during build and improve maintainability. The current humongous
SBRegistry constructor exhausts all memory on a NetBSD system with 4G
RAM + 4G swap, therefore making it impossible to build LLDB.

Differential Revision: https://reviews.llvm.org/D59427

Details

Committed
mgornyMar 19 2019, 10:13 AM
Differential Revision
D59427: [lldb] [Reproducer] Move SBRegistry registration into declaring files
Parents
rL356480: [OPENMP]Remove unused parameter, NFC.
Branches
Unknown
Tags
Unknown