2015-05-27 21:34:04 +08:00
|
|
|
//===-- LLDBServerUtilities.h -----------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/ADT/StringRef.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace lldb_private {
|
|
|
|
namespace lldb_server {
|
|
|
|
|
2016-09-07 04:57:50 +08:00
|
|
|
class LLDBServerUtilities {
|
2015-05-27 21:34:04 +08:00
|
|
|
public:
|
2016-09-07 04:57:50 +08:00
|
|
|
static bool SetupLogging(const std::string &log_file,
|
|
|
|
const llvm::StringRef &log_channels,
|
|
|
|
uint32_t log_options);
|
2015-05-27 21:34:04 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|