[Lldb-commits] [lldb] [lldb] Have lldb-server assign ports to children in platform mode (PR #88845)
Anthony Ha via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 16 17:53:06 PDT 2024
================
@@ -324,6 +335,10 @@ int main_platform(int argc, char *argv[]) {
// connections while a connection is active.
acceptor_up.reset();
}
+
+ GDBRemoteCommunicationServerPlatform::PortMap portmap_for_child;
+ portmap_for_child.AllowPort(*port);
----------------
Awfa wrote:
I removed the optional port and changed it - so reading the code should be more straightforward, and we shouldn't have to think about this.
https://github.com/llvm/llvm-project/pull/88845
More information about the lldb-commits
mailing list