[lldb-dev] RFC: Namespaces in lldb

Tamas Berghammer tberghammer at google.com
Tue Mar 24 08:27:08 PDT 2015


Thanks for all of the comments. I plan to do the move for
Platform/gdb-remote, platform/Android, Platform/Linux, Process/gdb-remote,
Process/Linux within a week and leave the rest of the classes for now, but
possibly move them in the future if my time permits.

Tamas

On Mon, Mar 23, 2015 at 6:05 PM, Greg Clayton <gclayton at apple.com> wrote:

>
> > On Mar 23, 2015, at 4:20 AM, Abid, Hafiz <Hafiz_Abid at mentor.com> wrote:
> >
> > Jim,
> > The initial developers of lldb-mi perhaps did not want to use the
> classes from
> > lldb_private inside lldb-mi. So in some cases, they sort of duplicated
> the code
> > for things like Mutex in lld-mi which are already available in host
> layer. If there
> > are no objections on using lldb_private inside lldb-mi then I can remove
> that
> > code duplication.
>
> Please just switch to using C++11 for the host layer stuff (std::mutex,
> std::condition, etc). Don't expose or copy any code. Nothing from
> lldb_private should be used in any code that links against the LLDB shared
> library. If you want internal stuff, you should switch over to be a tool
> that links against the internal lldb_private stuff and not use the lldb::SB
> API.
>
> And I do prefer that we try and use the lldb::SB API for lldb-mi.
>
> Greg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150324/dd8665d8/attachment.html>


More information about the lldb-dev mailing list