1 //===-- PlatformRemoteAppleBridge.h ---------------------------------*- C++
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEBRIDGE_H
11 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEBRIDGE_H
13 #include "PlatformRemoteDarwinDevice.h"
14 #include "lldb/Utility/FileSpec.h"
15 #include "lldb/lldb-forward.h"
16 #include "llvm/ADT/StringRef.h"
20 namespace lldb_private
{
23 class PlatformRemoteAppleBridge
: public PlatformRemoteDarwinDevice
{
25 PlatformRemoteAppleBridge();
27 static lldb::PlatformSP
CreateInstance(bool force
, const ArchSpec
*arch
);
29 static void Initialize();
31 static void Terminate();
33 static llvm::StringRef
GetPluginNameStatic() { return "remote-bridgeos"; }
35 static llvm::StringRef
GetDescriptionStatic();
37 llvm::StringRef
GetPluginName() override
{ return GetPluginNameStatic(); }
39 llvm::StringRef
GetDescription() override
{ return GetDescriptionStatic(); }
42 GetSupportedArchitectures(const ArchSpec
&process_host_arch
) override
;
45 llvm::StringRef
GetDeviceSupportDirectoryName() override
;
46 llvm::StringRef
GetPlatformName() override
;
49 } // namespace lldb_private
51 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEAPPLEBRIDGE_H