[Lldb-commits] [PATCH] D26093: Limit LLDB_EXPORT_ALL_SYMBOLS to additionally export only the lldb_private namespace symbols

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 28 16:38:10 PDT 2016


beanz added a comment.

In https://reviews.llvm.org/D26093#582618, @tfiala wrote:

> The current usage of CommandLine via global static constructors in Debug.cpp seems like a poor choice, as it forces all users of llvm with NDEBUG not defined to get some command line behavior that they may never use.  Maybe some aspect of that can be made lazy?


It can't be made lazy without completely re-designing how cl::opt works. Which is something I've had lengthy discussions with Chandler about. Currently the biggest issue with fixing it relates to how the new pass manager works. Specifically in order to provide meaningful -help output we need a way to register command line options in passes, which we have today, but won't with the new pass manager.

It is an open problem that we're trying to come up with a solution to.

> Unless there is strong opposition, I'd like to put this in.

No objection from me.


https://reviews.llvm.org/D26093





More information about the lldb-commits mailing list