[all-commits] [llvm/llvm-project] 4373f3: [lldb] [Host] Move port predicate-related logic to...
Michał Górny via All-commits
all-commits at lists.llvm.org
Tue Oct 26 04:53:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4373f3595f8e37f6183d9880ee5b4eb59cba3852
https://github.com/llvm/llvm-project/commit/4373f3595f8e37f6183d9880ee5b4eb59cba3852
Author: Michał Górny <mgorny at moritz.systems>
Date: 2021-10-26 (Tue, 26 Oct 2021)
Changed paths:
M lldb/include/lldb/Host/Socket.h
M lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
M lldb/source/Host/common/Socket.cpp
M lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
M lldb/unittests/Host/SocketTest.cpp
M lldb/unittests/Host/SocketTestUtilities.cpp
Log Message:
-----------
[lldb] [Host] Move port predicate-related logic to gdb-remote
Remove the port predicate from Socket and ConnectionFileDescriptor,
and move it to gdb-remote. It is specifically relevant to the threading
used inside gdb-remote and with the new port callback API, we can
reliably move it there. While at it, switch from the custom Predicate
to std::promise/std::future.
Differential Revision: https://reviews.llvm.org/D112357
More information about the All-commits
mailing list