LLDB  mainline
PlatformRemoteiOS.h
Go to the documentation of this file.
1 //===-- PlatformRemoteiOS.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 liblldb_PlatformRemoteiOS_h_
10 #define liblldb_PlatformRemoteiOS_h_
11 
12 #include <string>
13 
15 #include "lldb/Utility/FileSpec.h"
16 
17 #include "llvm/Support/FileSystem.h"
18 
20 public:
22 
23  ~PlatformRemoteiOS() override = default;
24 
25  // Class Functions
26  static lldb::PlatformSP CreateInstance(bool force,
27  const lldb_private::ArchSpec *arch);
28 
29  static void Initialize();
30 
31  static void Terminate();
32 
34 
35  static const char *GetDescriptionStatic();
36 
37  // lldb_private::Platform functions
38 
39  const char *GetDescription() override { return GetDescriptionStatic(); }
40 
41  // lldb_private::PluginInterface functions
43  return GetPluginNameStatic();
44  }
45 
46  uint32_t GetPluginVersion() override { return 1; }
47 
49  lldb_private::ArchSpec &arch) override;
50 
51 protected:
52 
53  // lldb_private::PlatformRemoteDarwinDevice functions
54 
55  void GetDeviceSupportDirectoryNames (std::vector<std::string> &dirnames) override;
56 
57  std::string GetPlatformName () override;
58 
59 private:
60  DISALLOW_COPY_AND_ASSIGN(PlatformRemoteiOS);
61 };
62 
63 #endif // liblldb_PlatformRemoteiOS_h_
~PlatformRemoteiOS() override=default
lldb_private::ConstString GetPluginName() override
An architecture specification class.
Definition: ArchSpec.h:32
static const char * GetDescriptionStatic()
const char * GetDescription() override
static lldb_private::ConstString GetPluginNameStatic()
PlatformRemoteiOS()
Default Constructor.
static void Initialize()
A uniqued constant string class.
Definition: ConstString.h:38
uint32_t GetPluginVersion() override
bool GetSupportedArchitectureAtIndex(uint32_t idx, lldb_private::ArchSpec &arch) override
Get the platform&#39;s supported architectures in the order in which they should be searched.
void GetDeviceSupportDirectoryNames(std::vector< std::string > &dirnames) override
std::string GetPlatformName() override
static void Terminate()
static lldb::PlatformSP CreateInstance(bool force, const lldb_private::ArchSpec *arch)