[lldb-dev] RFC: Namespaces in lldb

Greg Clayton gclayton at apple.com
Fri Mar 20 13:33:29 PDT 2015

> On Mar 20, 2015, at 1:23 PM, Ed Maste <emaste at freebsd.org> wrote:
> On 20 March 2015 at 16:11, Greg Clayton <gclayton at apple.com> wrote:
>> So the global namespace is probably getting a bit polluted in LLDB, but none of that is exported so it only affects LLDB internally. We should at some point start converting plug-ins over to using a namespace for each plug-in so we can avoid the global namespace, but there is no immediate need unless someone just has free time.
> There's one advantage of doing at least a subset of plugins now
> though: we have a growing set of new developers working on LLDB, and I
> expect we'll see even more in the future. It would be good to have a
> few examples of best practices for plug-ins.


> As the core matures and LLDB becomes a viable debugger for a growing
> set of targets I suspect we'll see new contributors who primarily
> interact with the LLDB project by developing a small set of plug-ins
> for their specific platform.

Yep. I won't be able to get to this anytime soon, but will be happy to quickly approve patches that implement this.


More information about the lldb-dev mailing list