[Lldb-commits] [lldb] [windows][lldb] implement system logging on Windows (PR #150213)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 23 10:10:59 PDT 2025


================
@@ -109,6 +109,10 @@ class Host {
   /// Emit the given message to the operating system log.
   static void SystemLog(lldb::Severity severity, llvm::StringRef message);
 
+  /// Emit the given message to the stdout or stderr depending on severity.
+  static void SystemLogFallback(lldb::Severity severity,
----------------
charles-zablit wrote:

I think it's fine to remove it. It would only be called if the system can't register an `EventSource`, which either means it's unsupported on this Windows version or that the system is corrupted somehow (in which case stdout will not work either).

I removed it 👍 

https://github.com/llvm/llvm-project/pull/150213


More information about the lldb-commits mailing list