aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2024-09-03 13:24:39 +0200
committerGitHub <noreply@github.com>2024-09-03 13:24:39 +0200
commit3d5e1ec6508c8425601d4cfaba4c8a8f18791e2b (patch)
treee7a0fbc3c6ccff0b440238140b635a2b19ee3a2a /llvm/lib/CodeGen/MachineInstr.cpp
parent4353530a6fc92c5748a73042371c2ddf487433e7 (diff)
downloadllvm-3d5e1ec6508c8425601d4cfaba4c8a8f18791e2b.zip
llvm-3d5e1ec6508c8425601d4cfaba4c8a8f18791e2b.tar.gz
llvm-3d5e1ec6508c8425601d4cfaba4c8a8f18791e2b.tar.bz2
[lldb] Add a callback version of TCPSocket::Accept (#106955)
The existing function already used the MainLoop class, which allows one to wait on multiple events at once. It needed to do this in order to wait for v4 and v6 connections simultaneously. However, since it was creating its own instance of MainLoop, this meant that it was impossible to multiplex these sockets with anything else. This patch simply adds a version of this function which uses an externally provided main loop instance, which allows the caller to add any events it deems necessary. The previous function becomes a very thin wrapper over the new one.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions