Use only unnamed pipes to launch lldb-server gdbserver.
authorChaoren Lin <chaorenl@google.com>
Thu, 30 Jul 2015 17:48:44 +0000 (17:48 +0000)
committerChaoren Lin <chaorenl@google.com>
Thu, 30 Jul 2015 17:48:44 +0000 (17:48 +0000)
commit46951b596870d0e8895c355a8ad3459c54e78fb2
tree8a89cd68bf3446c8add0a03017fe059b846e40b3
parentd6f7252e2ec08a66f5765b25ce70c4358392d6c1
Use only unnamed pipes to launch lldb-server gdbserver.

Summary:
If we used unnamed pipes instead of named pipes, we can avoid having the
file system littered with debugserver-named-pipes if lldb-server happens to
crash for whatever reason. Also, on some buggy systems, it's possible to be
able to create but not to delete a fifo. Ideally, support for unnamed pipes
should be added to debugserver as well, so we can avoid the `#ifdef` here.

Reviewers: clayborg, vharron, chying

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D11609

llvm-svn: 243667
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp