This is an archive of the discontinued LLVM Phabricator instance.

Pass socket scheme as part of debug server listen URL
ClosedPublic

Authored by ovyalov on Feb 3 2016, 10:55 AM.

Details

Summary

Pass socket scheme as part of debug server listen URL in order to fix custom protocols like unix-abstract.

Diff Detail

Event Timeline

ovyalov updated this revision to Diff 46805.Feb 3 2016, 10:55 AM
ovyalov retitled this revision from to Pass socket scheme as part of debug server listen URL.
ovyalov updated this object.
ovyalov added reviewers: sivachandra, tberghammer.
ovyalov added a subscriber: lldb-commits.
sivachandra accepted this revision.Feb 3 2016, 12:10 PM
sivachandra edited edge metadata.
This revision is now accepted and ready to land.Feb 3 2016, 12:10 PM
tfiala added a subscriber: tfiala.May 26 2016, 8:28 PM

This change broke connection to debugserver on OS X - the constructed URL on debugserver does not take the tcp:// (URL-scheme) portion. This would manifest when 'lldb-server platform' was attempting to launch debugserver.

I'm going to be making a fix for the debugserver case. I'll make sure it doesn't break Linux.

This change broke connection to debugserver on OS X - the constructed URL on debugserver does not take the tcp:// (URL-scheme) portion. This would manifest when 'lldb-server platform' was attempting to launch debugserver.

I'm going to be making a fix for the debugserver case. I'll make sure it doesn't break Linux.

thanks for the fix, Todd!

This change broke connection to debugserver on OS X - the constructed URL on debugserver does not take the tcp:// (URL-scheme) portion. This would manifest when 'lldb-server platform' was attempting to launch debugserver.

I'm going to be making a fix for the debugserver case. I'll make sure it doesn't break Linux.

thanks for the fix, Todd!

Sure think, Oleksiy!