LLDB  mainline
PlatformRemoteAppleWatch.h
Go to the documentation of this file.
1 //===-- PlatformRemoteAppleWatch.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_PLATFORMREMOTEAPPLEWATCH_H
10 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H
11 
13 #include "lldb/lldb-forward.h"
14 #include "llvm/ADT/StringRef.h"
15 
16 #include <vector>
17 
18 namespace lldb_private {
19 class ArchSpec;
20 
22 public:
24 
25  static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
26 
27  static void Initialize();
28 
29  static void Terminate();
30 
31  static llvm::StringRef GetPluginNameStatic() { return "remote-watchos"; }
32 
33  static llvm::StringRef GetDescriptionStatic();
34 
35  llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
36 
37  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
38 
39  std::vector<ArchSpec>
40  GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
41 
42 protected:
43  llvm::StringRef GetDeviceSupportDirectoryName() override;
44  llvm::StringRef GetPlatformName() override;
45 };
46 
47 } // namespace lldb_private
48 
49 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H
lldb_private::ArchSpec
Definition: ArchSpec.h:33
PlatformRemoteDarwinDevice.h
lldb_private::PlatformRemoteAppleWatch::GetSupportedArchitectures
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.
Definition: PlatformRemoteAppleWatch.cpp:148
lldb_private::PlatformRemoteAppleWatch::GetPluginNameStatic
static llvm::StringRef GetPluginNameStatic()
Definition: PlatformRemoteAppleWatch.h:31
lldb_private::PlatformRemoteAppleWatch::GetDeviceSupportDirectoryName
llvm::StringRef GetDeviceSupportDirectoryName() override
Definition: PlatformRemoteAppleWatch.cpp:183
lldb_private::PlatformRemoteAppleWatch::GetPluginName
llvm::StringRef GetPluginName() override
Definition: PlatformRemoteAppleWatch.h:37
lldb_private::PlatformRemoteAppleWatch::GetPlatformName
llvm::StringRef GetPlatformName() override
Definition: PlatformRemoteAppleWatch.cpp:187
lldb_private::PlatformRemoteDarwinDevice
Definition: PlatformRemoteDarwinDevice.h:36
lldb_private::PlatformRemoteAppleWatch::GetDescription
llvm::StringRef GetDescription() override
Definition: PlatformRemoteAppleWatch.h:35
lldb_private::PlatformRemoteAppleWatch::Terminate
static void Terminate()
Definition: PlatformRemoteAppleWatch.cpp:47
lldb_private::PlatformRemoteAppleWatch
Definition: PlatformRemoteAppleWatch.h:21
lldb_private::PlatformRemoteAppleWatch::CreateInstance
static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch)
Definition: PlatformRemoteAppleWatch.cpp:57
lldb-forward.h
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::PlatformRemoteAppleWatch::Initialize
static void Initialize()
Definition: PlatformRemoteAppleWatch.cpp:36
lldb_private::PlatformRemoteAppleWatch::GetDescriptionStatic
static llvm::StringRef GetDescriptionStatic()
Definition: PlatformRemoteAppleWatch.cpp:139
lldb_private::PlatformRemoteAppleWatch::PlatformRemoteAppleWatch
PlatformRemoteAppleWatch()
Default Constructor.
Definition: PlatformRemoteAppleWatch.cpp:144