llvm-project/lldb/source/Host/common
Jonas Devlieghere 8e776bb660
Re-land "[lldb] Synchronize output through the IOHandler"
Add synchronization to the IOHandler to prevent multiple threads from
writing concurrently to the output or error stream.

A scenario where this could happen is when a thread (the default event
thread for example) is using the debugger's asynchronous stream. We
would delegate this operation to the IOHandler which might be running on
another thread. Until this patch there was nothing to synchronize the
two at the IOHandler level.

Differential revision: https://reviews.llvm.org/D121500
2022-03-15 12:53:46 -07:00
..
Editline.cpp Re-land "[lldb] Synchronize output through the IOHandler" 2022-03-15 12:53:46 -07:00
File.cpp [lldb] Support serial port parity checking 2021-10-25 10:51:46 +02:00
FileAction.cpp [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
FileCache.cpp
FileSystem.cpp revert "[lldb/Host] Fix crash in FileSystem::IsLocal" 2022-03-04 13:36:36 -08:00
GetOptInc.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
Host.cpp [lldb/host] Remove monitor_signals argument from process monitoring functions 2022-02-24 11:12:59 +01:00
HostInfoBase.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
HostNativeThreadBase.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
HostProcess.cpp [lldb/host] Remove monitor_signals argument from process monitoring functions 2022-02-24 11:12:59 +01:00
HostThread.cpp
LZMA.cpp
LockFileBase.cpp [lldb] Remove some anonymous namespaces 2021-10-05 08:35:18 +02:00
MainLoop.cpp Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
MonitoringProcessLauncher.cpp [lldb/host] Remove monitor_signals argument from process monitoring functions 2022-02-24 11:12:59 +01:00
NativeProcessProtocol.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
NativeRegisterContext.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
NativeThreadProtocol.cpp
NativeWatchpointList.cpp
OptionParser.cpp [lldb][NFC] Move OptionDefinition from lldb-private-types.h to its own Utility header 2020-11-12 15:30:26 +01:00
PipeBase.cpp
ProcessLaunchInfo.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
ProcessRunLock.cpp [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
PseudoTerminal.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Socket.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
SocketAddress.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
TCPSocket.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
Terminal.cpp [lldb] TerminalState::Save - fix unused variable warning 2022-01-23 15:12:44 +00:00
ThreadLauncher.cpp [lldb] Modernize ThreadLauncher 2022-02-23 14:25:59 +01:00
UDPSocket.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
XML.cpp [lldb] fix memory leak in "GetGDBServerRegisterInfoXMLAndProcess" 2022-01-10 14:33:09 -08:00