diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-02-19 08:31:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-19 08:31:40 -0800 |
commit | 65998ab2cb5069871799cd6d0977954f14cbb93e (patch) | |
tree | a4fdbf93327f878c81862d8cfd531a1b019b79c2 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 9743b99cd1d1775f9f367e5f1c6d40ba09ec523b (diff) | |
download | llvm-65998ab2cb5069871799cd6d0977954f14cbb93e.zip llvm-65998ab2cb5069871799cd6d0977954f14cbb93e.tar.gz llvm-65998ab2cb5069871799cd6d0977954f14cbb93e.tar.bz2 |
[lldb] Make GetOutputStreamSP and GetErrorStreamSP protected (#127682)
This makes GetOutputStreamSP and GetErrorStreamSP protected members of
Debugger. Users who want to print to the debugger's stream should use
GetAsyncOutputStreamSP and GetAsyncErrorStreamSP instead and the few
remaining stragglers have been migrated.
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index acdec84a..5346d5a 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -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", + cmd_file_path.c_str()); } // Used for inheriting the right settings when "command source" might |