Coverage Report

Created: 2022-01-18 06:27

/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
Line
Count
Source (jump to first uncovered line)
1
//===-- PlatformRemoteAppleWatch.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_PLATFORMREMOTEAPPLEWATCH_H
10
#define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H
11
12
#include <string>
13
#include <vector>
14
15
#include "lldb/Utility/FileSpec.h"
16
17
#include "PlatformRemoteDarwinDevice.h"
18
19
#include "llvm/Support/FileSystem.h"
20
21
class PlatformRemoteAppleWatch : public PlatformRemoteDarwinDevice {
22
public:
23
  PlatformRemoteAppleWatch();
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
33
3.44k
  static llvm::StringRef GetPluginNameStatic() { return "remote-watchos"; }
34
35
  static llvm::StringRef GetDescriptionStatic();
36
37
  // lldb_private::Platform functions
38
39
0
  llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
40
41
  // lldb_private::PluginInterface functions
42
0
  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
43
44
  // lldb_private::Platform functions
45
46
  std::vector<lldb_private::ArchSpec> GetSupportedArchitectures() override;
47
48
protected:
49
  llvm::StringRef GetDeviceSupportDirectoryName() override;
50
  llvm::StringRef GetPlatformName() override;
51
};
52
53
#endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H