[Lldb-commits] [PATCH] D14085: Make Socket to support plugin interface

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 26 13:17:58 PDT 2015


zturner added a comment.

I think most of the time they are used in a Connection class, but I don't think it's necessarily guaranteed they will always be that way.

I can think of at least one use case in the future where we will need to open a socket to a server we don't control and stream some data down from the server.  I don't see the advantage of using a Connection in that case.

So I would say: Right now it's probably always used in Connection, but I dont' want to lose the flexibility to use it standalone either.

That said, IMO low-level OS primitive abstractions are by definition what Host is for, but higher level abstractions built on top of those can use the plugin interface


http://reviews.llvm.org/D14085





More information about the lldb-commits mailing list