llvm-project/lldb/tools/lldb-server
Jonas Devlieghere 6879391908
[lldb] Replace Host::SystemLog with Debugger::Report{Error,Warning}
As it exists today, Host::SystemLog is used exclusively for error
reporting. With the introduction of diagnostic events, we have a better
way of reporting those. Instead of printing directly to stderr, these
messages now get printed to the debugger's error stream (when using the
default event handler). Alternatively, if someone is listening for these
events, they can decide how to display them, for example in the context
of an IDE such as Xcode.

This change also means we no longer write these messages to the system
log on Darwin. As far as I know, nobody is relying on this, but I think
this is something we could add to the diagnostic event mechanism.

Differential revision: https://reviews.llvm.org/D128480
2022-06-24 09:46:26 -07:00
..
Darwin/resources
Acceptor.cpp [lldb] [Host/Socket] Make DecodeHostAndPort() return a dedicated struct 2021-10-28 09:57:50 +02:00
Acceptor.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
CMakeLists.txt [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00
LLDBServerUtilities.cpp [lldb] Introduce the concept of a log handler (NFC) 2022-06-16 13:34:28 -07:00
LLDBServerUtilities.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LLGSOptions.td [lldb] Port lldb gdb-server to libOption 2020-10-21 16:16:18 +02:00
SystemInitializerLLGS.cpp
SystemInitializerLLGS.h [lldb] Fix shared library directory computation on windows 2021-02-18 15:37:52 +01:00
lldb-gdbserver.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
lldb-platform.cpp [lldb] Replace Host::SystemLog with Debugger::Report{Error,Warning} 2022-06-24 09:46:26 -07:00
lldb-server.cpp [lldb] Make lldbVersion a full fledged library 2021-12-08 15:14:34 -08:00