llvm-project/lldb/tools/lldb-server
Michał Górny 5f1c8d8a43 [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API
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
2021-09-24 14:58:02 +02:00
..
Darwin/resources
Acceptor.cpp [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API 2021-09-24 14:58:02 +02:00
Acceptor.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
CMakeLists.txt [lldb] Rename FreeBSDRemote to FreeBSD (NFC) 2021-02-15 13:04:11 +01:00
LLDBServerUtilities.cpp [SystemZ][z/OS][Windows] Add new OF_TextWithCRLF flag and use this flag instead of OF_Text 2021-04-06 07:23:31 -04:00
LLDBServerUtilities.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LLGSOptions.td [lldb] Port lldb gdb-server to libOption 2020-10-21 16:16:18 +02:00
SystemInitializerLLGS.cpp lldb-server: LLGS: support 32-bit on 64-bit hosts 2019-05-21 01:25:48 +00:00
SystemInitializerLLGS.h [lldb] Fix shared library directory computation on windows 2021-02-18 15:37:52 +01:00
lldb-gdbserver.cpp [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
lldb-platform.cpp Revert "[lldb server] Tidy up LLDB server return codes and associated tests" 2021-09-02 15:27:39 +02:00
lldb-server.cpp Revert "[lldb server] Tidy up LLDB server return codes and associated tests" 2021-09-02 15:27:39 +02:00