diff options
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX')
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.cpp | 5 | ||||
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.h | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.cpp b/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.cpp index f2d4e38033e..a148b5f9157 100644 --- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.cpp +++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.cpp @@ -115,8 +115,9 @@ void ProcessPOSIXLog::DisableLog(const char **args, Stream *feedback_strm) { return; } -Log *ProcessPOSIXLog::EnableLog(StreamSP &log_stream_sp, uint32_t log_options, - const char **args, Stream *feedback_strm) { +Log *ProcessPOSIXLog::EnableLog( + const 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/POSIX/ProcessPOSIXLog.h b/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.h index 00af3dd5081..b277349b8d8 100644 --- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.h +++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIXLog.h @@ -62,9 +62,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); |