[Lldb-commits] [lldb] [lldb] Fix lldb-server host and port address parsing (PR #191414)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 13 01:40:46 PDT 2026
================
@@ -300,16 +305,13 @@ Socket::DecodeHostAndPort(llvm::StringRef host_and_port) {
ret.hostname = ret.hostname.substr(1, ret.hostname.size() - 2);
if (to_integer(matches[2], ret.port, 10))
return ret;
- } else {
- // If this was unsuccessful, then check if it's simply an unsigned 16-bit
- // integer, representing a port with an empty host.
----------------
DavidSpickett wrote:
Understood.
https://github.com/llvm/llvm-project/pull/191414
More information about the lldb-commits
mailing list