LLDB  mainline
PlatformRemoteAppleTV.h
Go to the documentation of this file.
1 //===-- PlatformRemoteAppleTV.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_PLATFORMREMOTEAPPLETV_H
10 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLETV_H
11 
12 #include <string>
13 
14 #include "lldb/Utility/FileSpec.h"
15 
16 #include "llvm/Support/FileSystem.h"
17 
19 
21 public:
23 
24  // Class Functions
25  static lldb::PlatformSP CreateInstance(bool force,
26  const lldb_private::ArchSpec *arch);
27 
28  static void Initialize();
29 
30  static void Terminate();
31 
32  static llvm::StringRef GetPluginNameStatic() { return "remote-tvos"; }
33 
34  static llvm::StringRef GetDescriptionStatic();
35 
36  // lldb_private::PluginInterface functions
37  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
38 
39  // lldb_private::Platform functions
40 
41  llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
42 
44  lldb_private::ArchSpec &arch) override;
45 
46 protected:
47  llvm::StringRef GetDeviceSupportDirectoryName() override;
48  llvm::StringRef GetPlatformName() override;
49 };
50 
51 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLETV_H
lldb_private::ArchSpec
Definition: ArchSpec.h:33
PlatformRemoteAppleTV::Initialize
static void Initialize()
Definition: PlatformRemoteAppleTV.cpp:39
PlatformRemoteAppleTV
Definition: PlatformRemoteAppleTV.h:20
PlatformRemoteAppleTV::GetPluginNameStatic
static llvm::StringRef GetPluginNameStatic()
Definition: PlatformRemoteAppleTV.h:32
PlatformRemoteAppleTV::GetPlatformName
llvm::StringRef GetPlatformName() override
Definition: PlatformRemoteAppleTV.cpp:225
PlatformRemoteDarwinDevice.h
PlatformRemoteAppleTV::CreateInstance
static lldb::PlatformSP CreateInstance(bool force, const lldb_private::ArchSpec *arch)
Definition: PlatformRemoteAppleTV.cpp:59
PlatformRemoteDarwinDevice
Definition: PlatformRemoteDarwinDevice.h:19
PlatformRemoteAppleTV::GetDescription
llvm::StringRef GetDescription() override
Definition: PlatformRemoteAppleTV.h:41
PlatformRemoteAppleTV::PlatformRemoteAppleTV
PlatformRemoteAppleTV()
Default Constructor.
Definition: PlatformRemoteAppleTV.cpp:32
PlatformRemoteAppleTV::GetDeviceSupportDirectoryName
llvm::StringRef GetDeviceSupportDirectoryName() override
Definition: PlatformRemoteAppleTV.cpp:221
PlatformRemoteAppleTV::GetDescriptionStatic
static llvm::StringRef GetDescriptionStatic()
Definition: PlatformRemoteAppleTV.cpp:131
PlatformRemoteAppleTV::GetSupportedArchitectureAtIndex
bool GetSupportedArchitectureAtIndex(uint32_t idx, lldb_private::ArchSpec &arch) override
Definition: PlatformRemoteAppleTV.cpp:135
PlatformRemoteAppleTV::Terminate
static void Terminate()
Definition: PlatformRemoteAppleTV.cpp:49
uint32_t
PlatformRemoteAppleTV::GetPluginName
llvm::StringRef GetPluginName() override
Definition: PlatformRemoteAppleTV.h:37
FileSpec.h