Author: Gabriele Mondada Date: 2026-02-28T14:43:02-08:00 New Revision: df616fbe1c908b6c79b81599e0a6ec9d0137543c
URL: https://github.com/llvm/llvm-project/commit/df616fbe1c908b6c79b81599e0a6ec9d0137543c DIFF: https://github.com/llvm/llvm-project/commit/df616fbe1c908b6c79b81599e0a6ec9d0137543c.diff LOG: [lldb][lldb-dap] Correctly format lldb warnings in the debug console (#173852) Trivial change to prevent all warnings from being printed on a single line in the VS Code debug console. Added: Modified: lldb/tools/lldb-dap/EventHelper.cpp Removed: ################################################################################ diff --git a/lldb/tools/lldb-dap/EventHelper.cpp b/lldb/tools/lldb-dap/EventHelper.cpp index 0ee7fbdd7561c..a41b202a998ba 100644 --- a/lldb/tools/lldb-dap/EventHelper.cpp +++ b/lldb/tools/lldb-dap/EventHelper.cpp @@ -627,7 +627,7 @@ static void HandleDiagnosticEvent(const lldb::SBEvent &event, Log &log) { std::string type = GetStringValue(data.GetValueForKey("type")); std::string message = GetStringValue(data.GetValueForKey("message")); dap_instance->SendOutput(OutputType::Important, - llvm::formatv("{0}: {1}", type, message).str()); + llvm::formatv("{0}: {1}\n", type, message).str()); } } _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
