diff options
author | Pavel Labath <labath@google.com> | 2017-02-10 12:32:43 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-02-10 12:32:43 +0000 |
commit | edfbda49843a6a658b5c7d2ada860c53fe2e593d (patch) | |
tree | 227dbad60d115b66263afb86aaf9418a5dde3c9e /lldb/source/Plugins/Process/Windows/Common | |
parent | 5f7e583b33759eab244e0e1a29a4e5ebb778d6a8 (diff) | |
download | bcm5719-llvm-edfbda49843a6a658b5c7d2ada860c53fe2e593d.tar.gz bcm5719-llvm-edfbda49843a6a658b5c7d2ada860c53fe2e593d.zip |
Fix darwin and windows builds broken by r294736
Update the platform-specific log classes to match the new interface.
llvm-svn: 294743
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); }; |