[all-commits] [llvm/llvm-project] 242c57: [lldb] Synchronize output through the IOHandler
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Mar 15 09:33:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 242c574dc03e4b90e992cc8d07436efc3954727f
https://github.com/llvm/llvm-project/commit/242c574dc03e4b90e992cc8d07436efc3954727f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
M lldb/include/lldb/Core/IOHandler.h
M lldb/include/lldb/Host/Editline.h
M lldb/include/lldb/Interpreter/CommandInterpreter.h
M lldb/source/Core/IOHandler.cpp
M lldb/source/Host/common/Editline.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/unittests/Editline/EditlineTest.cpp
Log Message:
-----------
[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
Commit: b783e5c203c1959e04fc351a2e96f0700decc32c
https://github.com/llvm/llvm-project/commit/b783e5c203c1959e04fc351a2e96f0700decc32c
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
M lldb/unittests/Platform/PlatformMacOSXTest.cpp
Log Message:
-----------
[lldb] Make the PlatformMacOSX unit test Apple specific
I thought that x86GetSupportedArchitectures would always return
x86_64-apple-macosx as a compatible architecture, regardless of the host
achitecture, but the Debian bot disagrees with that.
Compare: https://github.com/llvm/llvm-project/compare/a6ec1e3d798f...b783e5c203c1
More information about the All-commits
mailing list