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 LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEIOS_H
10 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEIOS_H
11 
12 #include <string>
13 
14 #include "PlatformRemoteDarwinDevice.h"
15 #include "lldb/Utility/FileSpec.h"
16 
17 #include "llvm/Support/FileSystem.h"
18 
19 class PlatformRemoteiOS : public PlatformRemoteDarwinDevice {
20 public:
21   PlatformRemoteiOS();
22 
23   // Class Functions
24   static lldb::PlatformSP CreateInstance(bool force,
25                                          const lldb_private::ArchSpec *arch);
26 
27   static void Initialize();
28 
29   static void Terminate();
30 
31   static llvm::StringRef GetPluginNameStatic() { return "remote-ios"; }
32 
33   static llvm::StringRef GetDescriptionStatic();
34 
35   // lldb_private::Platform functions
36 
37   llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
38 
39   // lldb_private::PluginInterface functions
40   llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
41 
42   std::vector<lldb_private::ArchSpec> GetSupportedArchitectures() override;
43 
44 protected:
45   bool CheckLocalSharedCache() const override;
46 
47   llvm::StringRef GetDeviceSupportDirectoryName() override;
48   llvm::StringRef GetPlatformName() override;
49 };
50 
51 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEIOS_H
52