[Lldb-commits] [lldb] r218291 - ConnectionFileDescriptor::Connect()'s handling of the "fd://" method
Jason Molenda
jmolenda at apple.com
Mon Sep 22 19:43:35 PDT 2014
Author: jmolenda
Date: Mon Sep 22 21:43:35 2014
New Revision: 218291
URL: http://llvm.org/viewvc/llvm-project?rev=218291&view=rev
Log:
ConnectionFileDescriptor::Connect()'s handling of the "fd://" method
was broken in r214984 by the addition of an unconditional error
return at the start of the code block handling this method. Remove
the errant lines.
<rdar://problem/18416691>
Modified:
lldb/trunk/source/Core/ConnectionFileDescriptor.cpp
Modified: lldb/trunk/source/Core/ConnectionFileDescriptor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ConnectionFileDescriptor.cpp?rev=218291&r1=218290&r2=218291&view=diff
==============================================================================
--- lldb/trunk/source/Core/ConnectionFileDescriptor.cpp (original)
+++ lldb/trunk/source/Core/ConnectionFileDescriptor.cpp Mon Sep 22 21:43:35 2014
@@ -174,9 +174,6 @@ ConnectionFileDescriptor::Connect (const
#ifndef LLDB_DISABLE_POSIX
else if (strstr(s, "fd://") == s)
{
- if (error_ptr)
- error_ptr->SetErrorStringWithFormat ("Protocol is not supported on non-posix hosts '%s'", s);
- return eConnectionStatusError;
// Just passing a native file descriptor within this current process
// that is already opened (possibly from a service or other source).
s += strlen ("fd://");
More information about the lldb-commits
mailing list