forked from OSchip/llvm-project
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> llvm-svn: 218291
This commit is contained in:
parent
bbae11bd2d
commit
f6a4258020
|
@ -174,9 +174,6 @@ ConnectionFileDescriptor::Connect (const char *s, Error *error_ptr)
|
|||
#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://");
|
||||
|
|
Loading…
Reference in New Issue