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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log *ProcessKDPLog::EnableLog(StreamSP &log_stream_sp, uint32_t log_options,
|
Log *ProcessKDPLog::EnableLog(
|
||||||
const char **categories, Stream *feedback_strm) {
|
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.
|
// 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
|
// We could reuse the log in toto, but we don't know that the stream is the
|
||||||
// same.
|
// same.
|
||||||
|
|
|
@ -39,10 +39,10 @@ public:
|
||||||
static void DisableLog(const char **categories,
|
static void DisableLog(const char **categories,
|
||||||
lldb_private::Stream *feedback_strm);
|
lldb_private::Stream *feedback_strm);
|
||||||
|
|
||||||
static lldb_private::Log *EnableLog(lldb::StreamSP &log_stream_sp,
|
static lldb_private::Log *
|
||||||
uint32_t log_options,
|
EnableLog(const std::shared_ptr<llvm::raw_ostream> &log_stream_sp,
|
||||||
const char **categories,
|
uint32_t log_options, const char **categories,
|
||||||
lldb_private::Stream *feedback_strm);
|
lldb_private::Stream *feedback_strm);
|
||||||
|
|
||||||
static void ListLogCategories(lldb_private::Stream *strm);
|
static void ListLogCategories(lldb_private::Stream *strm);
|
||||||
|
|
||||||
|
|
|
@ -109,8 +109,9 @@ void ProcessWindowsLog::DisableLog(const char **args, Stream *feedback_strm) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log *ProcessWindowsLog::EnableLog(StreamSP &log_stream_sp, uint32_t log_options,
|
Log *ProcessWindowsLog::EnableLog(
|
||||||
const char **args, Stream *feedback_strm) {
|
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.
|
// 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
|
// We could reuse the log in toto, but we don't know that the stream is the
|
||||||
// same.
|
// same.
|
||||||
|
|
|
@ -51,9 +51,10 @@ public:
|
||||||
static void DisableLog(const char **args,
|
static void DisableLog(const char **args,
|
||||||
lldb_private::Stream *feedback_strm);
|
lldb_private::Stream *feedback_strm);
|
||||||
|
|
||||||
static lldb_private::Log *EnableLog(lldb::StreamSP &log_stream_sp,
|
static lldb_private::Log *
|
||||||
uint32_t log_options, const char **args,
|
EnableLog(const std::shared_ptr<llvm::raw_ostream> &log_stream_sp,
|
||||||
lldb_private::Stream *feedback_strm);
|
uint32_t log_options, const char **args,
|
||||||
|
lldb_private::Stream *feedback_strm);
|
||||||
|
|
||||||
static void ListLogCategories(lldb_private::Stream *strm);
|
static void ListLogCategories(lldb_private::Stream *strm);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue