[all-commits] [llvm/llvm-project] 2fc38b: [lldb] Report debugger diagnostics as events
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Mar 16 08:33:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fc38b2b7bf9896806749655124ea5f13cc6d383
https://github.com/llvm/llvm-project/commit/2fc38b2b7bf9896806749655124ea5f13cc6d383
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M lldb/include/lldb/Core/Debugger.h
M lldb/include/lldb/Core/DebuggerEvents.h
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/DebuggerEvents.cpp
M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
M lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
M lldb/source/Target/StopInfo.cpp
M lldb/unittests/Core/CMakeLists.txt
A lldb/unittests/Core/DiagnosticEventTest.cpp
Log Message:
-----------
[lldb] Report debugger diagnostics as events
Report warnings and errors through events instead of printing directly
the to the debugger's error stream. By using events, IDEs such as Xcode
can report these issues in the UI instead of having them show up in the
debugger console.
The new diagnostic events are handled by the default event loop. If a
diagnostic is reported while nobody is listening for the new event
types, it is printed directly to the debugger's error stream.
Differential revision: https://reviews.llvm.org/D121511
More information about the All-commits
mailing list