LLDB mainline
PlatformRemoteMacOSX.h
Go to the documentation of this file.
1//===-- PlatformRemoteMacOSX.h ---------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEMACOSX_H
10#define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEMACOSX_H
11
14#include "lldb/Utility/Status.h"
15#include "lldb/lldb-forward.h"
16#include "llvm/ADT/StringRef.h"
17
18#include <string>
19#include <vector>
20
21namespace lldb_private {
22class ArchSpec;
23class FileSpec;
24class UUID;
25
27public:
29
30 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
31
32 static void Initialize();
33
34 static void Terminate();
35
36 static llvm::StringRef GetPluginNameStatic() { return "remote-macosx"; }
37
38 static llvm::StringRef GetDescriptionStatic();
39
40 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
41
42 llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
43
44 std::vector<ArchSpec>
45 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
46
47protected:
48 llvm::StringRef GetDeviceSupportDirectoryName() override;
49 llvm::StringRef GetPlatformName() override;
50};
51
52} // namespace lldb_private
53
54#endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEMACOSX_H
An architecture specification class.
Definition: ArchSpec.h:31
static llvm::StringRef GetPluginNameStatic()
llvm::StringRef GetDeviceSupportDirectoryName() override
llvm::StringRef GetPluginName() override
static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch)
llvm::StringRef GetDescription() override
std::vector< ArchSpec > GetSupportedArchitectures(const ArchSpec &process_host_arch) override
Get the platform's supported architectures in the order in which they should be searched.
llvm::StringRef GetPlatformName() override
static llvm::StringRef GetDescriptionStatic()
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
std::shared_ptr< lldb_private::Platform > PlatformSP
Definition: lldb-forward.h:380