LLDB mainline
LLDBServerAcceleratorPlugin.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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_PROCESS_GDB_REMOTE_LLDBSERVERACCELERATORPLUGIN_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_LLDBSERVERACCELERATORPLUGIN_H
11
12#include "lldb/Host/MainLoop.h"
14#include "llvm/ADT/StringRef.h"
15#include <optional>
16
17namespace lldb_private {
18
19namespace process_gdb_remote {
21} // namespace process_gdb_remote
22
23namespace lldb_server {
24
26public:
28
29 LLDBServerAcceleratorPlugin(GDBServer &gdb_server, MainLoop &main_loop);
31
32 virtual llvm::StringRef GetPluginName() = 0;
33
34 virtual std::optional<AcceleratorActions> GetInitializeActions() = 0;
35
36protected:
39};
40
41} // namespace lldb_server
42} // namespace lldb_private
43
44#endif // LLDB_SOURCE_PLUGINS_PROCESS_GDB_REMOTE_LLDBSERVERACCELERATORPLUGIN_H
virtual std::optional< AcceleratorActions > GetInitializeActions()=0
LLDBServerAcceleratorPlugin(GDBServer &gdb_server, MainLoop &main_loop)
process_gdb_remote::GDBRemoteCommunicationServerLLGS GDBServer
A class that represents a running process on the host machine.
MainLoopPosix MainLoop
Definition MainLoop.h:20