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/Commands/CommandObjectLog.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/Commands/CommandObjectLog.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectLog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectLog.cpp b/lldb/source/Commands/CommandObjectLog.cpp index 5fb2dfa..17efae1 100644 --- a/lldb/source/Commands/CommandObjectLog.cpp +++ b/lldb/source/Commands/CommandObjectLog.cpp @@ -394,7 +394,8 @@ protected: (*file)->GetDescriptor(), /*shouldClose=*/true); } else { stream_up = std::make_unique<llvm::raw_fd_ostream>( - GetDebugger().GetOutputFile().GetDescriptor(), /*shouldClose=*/false); + GetDebugger().GetOutputFileSP()->GetDescriptor(), + /*shouldClose=*/false); } const std::string channel = std::string(args[0].ref()); |