llvm-project/lldb/unittests/Process
Michał Górny 58d28b931f [lldb] [lldb-gdbserver] Unify listen/connect code to use ConnectionFileDescriptor
Unify the listen and connect code inside lldb-server to use
ConnectionFileDescriptor uniformly rather than a mix of it and Acceptor.
This involves:

- adding a function to map legacy values of host:port parameter
  (including legacy server URLs) into CFD-style URLs

- adding a callback to return "local socket id" (i.e. UNIX socket path
  or TCP port number) between listen() and accept() calls in CFD

- adding a "unix-abstract-accept" scheme to CFD

As an additional advantage, this permits lldb-server to accept any URL
known to CFD including the new serial:// scheme.  Effectively,
lldb-server can now listen on the serial port.  Tests for connecting
over a pty are added to test that.

Differential Revision: https://reviews.llvm.org/D111964
2021-10-26 13:06:19 +02:00
..
Linux [trace][intel-pt] Implement trace start and trace stop 2021-03-30 17:31:37 -07:00
POSIX [lldb] Use modern CMake to avoid repetition (NFC) 2020-08-10 22:29:40 -07:00
Utility [lldb] Move DynamicRegisterInfo to public Target library 2021-10-05 12:40:55 +02:00
gdb-remote [lldb] [lldb-gdbserver] Unify listen/connect code to use ConnectionFileDescriptor 2021-10-26 13:06:19 +02:00
minidump [lldb] Update MemoryRegionInfo ctors in unit tests 2021-08-11 14:13:41 -07:00
CMakeLists.txt [lldb] [Process/FreeBSDRemote] Access GPR via reginfo offsets 2020-11-16 12:19:37 +01:00
ProcessEventDataTest.cpp [lldb] Return StringRef from PluginInterface::GetPluginName 2021-10-18 10:14:42 +02:00