aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/tools/lldb-server/LLDBServerUtilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/tools/lldb-server/LLDBServerUtilities.h')
-rw-r--r--contrib/llvm-project/lldb/tools/lldb-server/LLDBServerUtilities.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/tools/lldb-server/LLDBServerUtilities.h b/contrib/llvm-project/lldb/tools/lldb-server/LLDBServerUtilities.h
new file mode 100644
index 000000000000..b59d1e411540
--- /dev/null
+++ b/contrib/llvm-project/lldb/tools/lldb-server/LLDBServerUtilities.h
@@ -0,0 +1,29 @@
+#ifndef LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H
+
+#define LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H
+
+//===-- LLDBServerUtilities.h -----------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/ADT/StringRef.h"
+
+#include <string>
+
+namespace lldb_private {
+namespace lldb_server {
+
+class LLDBServerUtilities {
+public:
+ static bool SetupLogging(const std::string &log_file,
+ const llvm::StringRef &log_channels,
+ uint32_t log_options);
+};
+}
+}
+
+#endif