[Lldb-commits] [PATCH] D59427: [lldb] [API] Split SBRegistry into smaller files

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 15 13:44:16 PDT 2019


zturner added a comment.

Or better yet, make it a static method on each SB class.  E.g. `SBTarget::InitializeReproducerRegistry();` etc, one for each class.

Random thought, but this all seems like a very high maintenance strategy, having to manually update this registry when methods are added or removed.  Did you ever consider auto-generating them by parsing the SWIG?


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59427/new/

https://reviews.llvm.org/D59427





More information about the lldb-commits mailing list