[compiler-rt][rtsan] inotify api for Linux interception. (#124177)
[llvm-project.git] / lldb / source / Plugins / Platform / MacOSX / PlatformRemoteMacOSX.h
blob17ae372e3616b2b2db57de1b7f84cb066f427efb
1 //===-- PlatformRemoteMacOSX.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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEMACOSX_H
10 #define LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEMACOSX_H
12 #include "PlatformRemoteDarwinDevice.h"
13 #include "lldb/Utility/FileSpec.h"
14 #include "lldb/Utility/Status.h"
15 #include "lldb/lldb-forward.h"
16 #include "llvm/ADT/StringRef.h"
18 #include <string>
19 #include <vector>
21 namespace lldb_private {
22 class ArchSpec;
23 class FileSpec;
24 class UUID;
26 class PlatformRemoteMacOSX : public virtual PlatformRemoteDarwinDevice {
27 public:
28 PlatformRemoteMacOSX();
30 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
32 static void Initialize();
34 static void Terminate();
36 static llvm::StringRef GetPluginNameStatic() { return "remote-macosx"; }
38 static llvm::StringRef GetDescriptionStatic();
40 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
42 llvm::StringRef GetDescription() override { return GetDescriptionStatic(); }
44 std::vector<ArchSpec>
45 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
47 protected:
48 llvm::StringRef GetDeviceSupportDirectoryName() override;
49 llvm::StringRef GetPlatformName() override;
52 } // namespace lldb_private
54 #endif // LLDB_SOURCE_PLUGINS_PLATFORM_MACOSX_PLATFORMREMOTEMACOSX_H