Don't use "lldb." global variables in LLDB commands.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212852 91177308-0d34-0410-b5e6-96231b3b80d8
Don't crash when a SBType is handed out through the API and later used after the module that owns the type is deleted.

The fix adds a std::weak_ptr<Module> into the TypeImpl and fills in the weak pointer when possible. It also checks to make sure the module is still alive prior to using it which should make our API safer to use.

<rdar://problem/15455145> 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212853 91177308-0d34-0410-b5e6-96231b3b80d8
Added llgs --named-pipe support and program_name-version_number printout support.

Added a unit test to test debugserver and llgs compliance on --named-pipe support.

Modified llgs to implement --named-pipe support.  (Note: need to revisit with
new generic pipe support).


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212854 91177308-0d34-0410-b5e6-96231b3b80d8