Fix darwin and windows builds broken by r294736
Update the platform-specific log classes to match the new interface. llvm-svn: 294743
This commit is contained in:
parent
5f7e583b33
commit
edfbda4984
|
@ -90,8 +90,9 @@ void ProcessKDPLog::DisableLog(const char **categories, Stream *feedback_strm) {
|
|||
return;
|
||||
}
|
||||
|
||||
Log *ProcessKDPLog::EnableLog(StreamSP &log_stream_sp, uint32_t log_options,
|
||||
const char **categories, Stream *feedback_strm) {
|
||||
Log *ProcessKDPLog::EnableLog(
|
||||
const std::shared_ptr<llvm::raw_ostream> &log_stream_sp,
|
||||
uint32_t log_options, const char **categories, 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.
|
||||
|
|
|
@ -39,10 +39,10 @@ public:
|
|||
static void DisableLog(const char **categories,
|
||||
lldb_private::Stream *feedback_strm);
|
||||
|
||||
static lldb_private::Log *EnableLog(lldb::StreamSP &log_stream_sp,
|
||||
uint32_t log_options,
|
||||
const char **categories,
|
||||
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 **categories,
|
||||
lldb_private::Stream *feedback_strm);
|
||||
|
||||
static void ListLogCategories(lldb_private::Stream *strm);
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue