llvm-project/lldb
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
..
bindings [lldb/Plugins] Introduce Scripted Interface Factory 2021-09-03 19:37:25 +02:00
cmake [LLVM][CMake][NFC] Resolve FIXME: Rename LLVM_CMAKE_PATH to LLVM_CMAKE_DIR throughout the project 2021-09-16 18:29:57 +02:00
docs [LLDB][Docs] Indicate `PS1` variable by $ 2021-09-04 20:57:59 +05:30
examples [lldb][crashlog] Avoid specifying arch for image when a UUID is present 2021-09-20 10:23:35 -07:00
include/lldb [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API 2021-09-24 14:58:02 +02:00
packages/Python [lldb/test] Start pexpect tests with a custom HOME 2021-09-14 15:17:10 +02:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API 2021-09-24 14:58:02 +02:00
test [lldb] Fix target-symbols-add-unwind.test for clang 7647a841 2021-09-24 09:06:44 +02:00
third_party/Python/module [LLDB] Change pexpect timeout to 30 to 60 2021-08-02 06:34:11 +05:00
tools [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API 2021-09-24 14:58:02 +02:00
unittests [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API 2021-09-24 14:58:02 +02:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
.gitignore
CMakeLists.txt [lldb] skip host build for lldb_tblgen with LLDB_TABLEGEN_EXE set 2021-08-13 14:18:03 -07:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py