[Lldb-commits] [lldb] [lldb] Always emit diagnostic events to the system log (PR #90913)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Thu May 2 16:13:03 PDT 2024


================
@@ -1512,7 +1512,22 @@ void Debugger::ReportDiagnosticImpl(DiagnosticEventData::Type type,
                                     std::string message,
                                     std::optional<lldb::user_id_t> debugger_id,
                                     std::once_flag *once) {
+  auto GetSystemLogLevel = [](DiagnosticEventData::Type type) {
----------------
medismailben wrote:

nit: This could be `constexpr` I think

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


More information about the lldb-commits mailing list