This is an archive of the discontinued LLVM Phabricator instance.

Add --port-file flag to lldb-platform to store port number which platform is listening
ClosedPublic

Authored by ovyalov on Jul 1 2015, 3:23 PM.

Details

Summary

If platform listens on dynamically allocated port (when runs as "--listen *:0") --port-file will be used to store port number which client can use to connect to.

Diff Detail

Event Timeline

ovyalov updated this revision to Diff 28904.Jul 1 2015, 3:23 PM
ovyalov retitled this revision from to Add --port-file flag to lldb-platform to store port number which platform is listening.
ovyalov updated this object.
ovyalov edited the test plan for this revision. (Show Details)
ovyalov added reviewers: tberghammer, chaoren.
ovyalov added a subscriber: Unknown Object (MLST).
tberghammer accepted this revision.Jul 2 2015, 2:43 AM
tberghammer edited edge metadata.

LGTM

tools/lldb-server/lldb-platform.cpp
197

(nit): Indentation

This revision is now accepted and ready to land.Jul 2 2015, 2:43 AM
ovyalov marked an inline comment as done.Jul 6 2015, 11:03 AM
ovyalov added inline comments.
tools/lldb-server/lldb-platform.cpp
197

Fixed.

ovyalov closed this revision.Jul 6 2015, 11:06 AM
ovyalov marked an inline comment as done.

Files:

/lldb/trunk/tools/lldb-server/lldb-platform.cpp

Users:

ovyalov (Author)

http://reviews.llvm.org/rL241479