brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 20694f0 Raw
50 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H10#define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H11 12#include "PlatformRemoteDarwinDevice.h"13#include "lldb/lldb-forward.h"14#include "llvm/ADT/StringRef.h"15 16#include <vector>17 18namespace lldb_private {19class ArchSpec;20 21class PlatformRemoteAppleWatch : public PlatformRemoteDarwinDevice {22public:23  PlatformRemoteAppleWatch();24 25  static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);26 27  static void Initialize();28 29  static void Terminate();30 31  static llvm::StringRef GetPluginNameStatic() { return "remote-watchos"; }32 33  static llvm::StringRef GetDescriptionStatic();34 35  llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }36 37  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }38 39  std::vector<ArchSpec>40  GetSupportedArchitectures(const ArchSpec &process_host_arch) override;41 42protected:43  llvm::StringRef GetDeviceSupportDirectoryName() override;44  llvm::StringRef GetPlatformName() override;45};46 47} // namespace lldb_private48 49#endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEWATCH_H50