diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp | 5 | ||||
-rw-r--r-- | lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp index 3434808e94e..7cd52e4af34 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.cpp @@ -109,8 +109,9 @@ void ProcessWindowsLog::DisableLog(const char **args, Stream *feedback_strm) { return; } -Log *ProcessWindowsLog::EnableLog(StreamSP &log_stream_sp, uint32_t log_options, - const char **args, Stream *feedback_strm) { +Log *ProcessWindowsLog::EnableLog( + std::shared_ptr<llvm::raw_ostream> &log_stream_sp, uint32_t log_options, + const char **args, Stream *feedback_strm) { // Try see if there already is a log - that way we can reuse its settings. // We could reuse the log in toto, but we don't know that the stream is the // same. diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h index cbb99e8d907..8de35611edf 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindowsLog.h @@ -51,9 +51,10 @@ public: static void DisableLog(const char **args, lldb_private::Stream *feedback_strm); - static lldb_private::Log *EnableLog(lldb::StreamSP &log_stream_sp, - uint32_t log_options, const char **args, - lldb_private::Stream *feedback_strm); + static lldb_private::Log * + EnableLog(const std::shared_ptr<llvm::raw_ostream> &log_stream_sp, + uint32_t log_options, const char **args, + lldb_private::Stream *feedback_strm); static void ListLogCategories(lldb_private::Stream *strm); }; |