Coverage Report

Created: 2022-01-22 13:19

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