Coverage Report

Created: 2023-11-11 10:31

/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
Line
Count
Source (jump to first uncovered line)
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 "PlatformRemoteDarwinDevice.h"
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
21
class PlatformRemoteiOS : public PlatformRemoteDarwinDevice {
22
public:
23
  PlatformRemoteiOS();
24
25
  static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
26
27
  static void Initialize();
28
29
  static void Terminate();
30
31
3.98k
  static llvm::StringRef GetPluginNameStatic() { return "remote-ios"; }
32
33
  static llvm::StringRef GetDescriptionStatic();
34
35
0
  llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
36
37
3
  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
38
39
  std::vector<ArchSpec>
40
  GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
41
42
protected:
43
  bool CheckLocalSharedCache() const override;
44
45
  llvm::StringRef GetDeviceSupportDirectoryName() override;
46
  llvm::StringRef GetPlatformName() override;
47
};
48
49
} // namespace lldb_private
50
51
#endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEIOS_H