aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Platform/WebAssembly/PlatformWasmRemoteGDBServer.h
blob: fa37fb61ce22503c348df745a15af72e00ddcb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLDB_SOURCE_PLUGINS_PLATFORM_WASM_PLATFORMWASMREMOTEGDBSERVER_H
#define LLDB_SOURCE_PLUGINS_PLATFORM_WASM_PLATFORMWASMREMOTEGDBSERVER_H

#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"

namespace lldb_private {

class PlatformWasmRemoteGDBServer
    : public platform_gdb_server::PlatformRemoteGDBServer {
public:
  PlatformWasmRemoteGDBServer() = default;

  ~PlatformWasmRemoteGDBServer() override;

  virtual llvm::StringRef GetDefaultProcessPluginName() const override;

private:
  PlatformWasmRemoteGDBServer(const PlatformWasmRemoteGDBServer &) = delete;
  const PlatformWasmRemoteGDBServer &
  operator=(const PlatformWasmRemoteGDBServer &) = delete;
};

} // namespace lldb_private

#endif // LLDB_SOURCE_PLUGINS_PLATFORM_WASM_PLATFORMWASMREMOTEGDBSERVER_H