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 
33 
34  static const char *GetDescriptionStatic();
35 
36  // lldb_private::PluginInterface functions
38  return GetPluginNameStatic();
39  }
40 
41  uint32_t GetPluginVersion() override { return 1; }
42 
43  // lldb_private::Platform functions
44 
45  const char *GetDescription() override { return GetDescriptionStatic(); }
46 
48  lldb_private::ArchSpec &arch) override;
49 
50 protected:
51  llvm::StringRef GetDeviceSupportDirectoryName() override;
52  llvm::StringRef GetPlatformName() override;
53 };
54 
55 #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::GetDescriptionStatic
static const char * GetDescriptionStatic()
Definition: PlatformRemoteAppleTV.cpp:136
PlatformRemoteAppleTV
Definition: PlatformRemoteAppleTV.h:20
PlatformRemoteAppleTV::GetPlatformName
llvm::StringRef GetPlatformName() override
Definition: PlatformRemoteAppleTV.cpp:230
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::GetPluginName
lldb_private::ConstString GetPluginName() override
Definition: PlatformRemoteAppleTV.h:37
PlatformRemoteAppleTV::PlatformRemoteAppleTV
PlatformRemoteAppleTV()
Default Constructor.
Definition: PlatformRemoteAppleTV.cpp:32
lldb_private::ConstString
Definition: ConstString.h:40
PlatformRemoteAppleTV::GetDescription
const char * GetDescription() override
Definition: PlatformRemoteAppleTV.h:45
PlatformRemoteAppleTV::GetPluginNameStatic
static lldb_private::ConstString GetPluginNameStatic()
Definition: PlatformRemoteAppleTV.cpp:131
PlatformRemoteAppleTV::GetPluginVersion
uint32_t GetPluginVersion() override
Definition: PlatformRemoteAppleTV.h:41
PlatformRemoteAppleTV::GetDeviceSupportDirectoryName
llvm::StringRef GetDeviceSupportDirectoryName() override
Definition: PlatformRemoteAppleTV.cpp:226
PlatformRemoteAppleTV::GetSupportedArchitectureAtIndex
bool GetSupportedArchitectureAtIndex(uint32_t idx, lldb_private::ArchSpec &arch) override
Get the platform's supported architectures in the order in which they should be searched.
Definition: PlatformRemoteAppleTV.cpp:140
PlatformRemoteAppleTV::Terminate
static void Terminate()
Definition: PlatformRemoteAppleTV.cpp:49
uint32_t
FileSpec.h