[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / lldb / tools / lldb-server / LLDBServerUtilities.h
blobb59d1e411540584e01fb79374a97af9eeedbddc6
1 #ifndef LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H
3 #define LLDB_TOOLS_LLDB_SERVER_LLDBSERVERUTILITIES_H
5 //===-- LLDBServerUtilities.h -----------------------------------*- C++ -*-===//
6 //
7 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
8 // See https://llvm.org/LICENSE.txt for license information.
9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 //===----------------------------------------------------------------------===//
13 #include "llvm/ADT/StringRef.h"
15 #include <string>
17 namespace lldb_private {
18 namespace lldb_server {
20 class LLDBServerUtilities {
21 public:
22 static bool SetupLogging(const std::string &log_file,
23 const llvm::StringRef &log_channels,
24 uint32_t log_options);
29 #endif