[Lldb-commits] [lldb] [lldb] Make GetOutputStreamSP and GetErrorStreamSP protected (PR #127682)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 19 03:52:04 PST 2025


================
@@ -2837,8 +2837,8 @@ void CommandInterpreter::HandleCommandsFromFile(
   }
 
   if (flags & eHandleCommandFlagPrintResult) {
-    debugger.GetOutputFile().Printf("Executing commands in '%s'.\n",
-                                    cmd_file_path.c_str());
+    debugger.GetOutputFileSP()->Printf("Executing commands in '%s'.\n",
----------------
labath wrote:

This is one of those suspicious calls.

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


More information about the lldb-commits mailing list