forked from OSchip/llvm-project
![]() Refactor Socket::DecodeHostAndPort() to use LLVM API over redundant LLDB API. In particular, this means llvm::Regex, llvm::Error return type and llvm::to_integer(). While at it, change the port type from int32_t to uint16_t. The method never returns any value outside this range, and using the correct type allows us to rely on getAsInteger()'s implicit overflow check. Differential Revision: https://reviews.llvm.org/D110391 |
||
---|---|---|
.. | ||
Darwin/resources | ||
Acceptor.cpp | ||
Acceptor.h | ||
CMakeLists.txt | ||
LLDBServerUtilities.cpp | ||
LLDBServerUtilities.h | ||
LLGSOptions.td | ||
SystemInitializerLLGS.cpp | ||
SystemInitializerLLGS.h | ||
lldb-gdbserver.cpp | ||
lldb-platform.cpp | ||
lldb-server.cpp |