LLDB mainline
SymbolVendorWasm.h
Go to the documentation of this file.
1//===-- SymbolVendorWasm.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//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H
11
13#include "lldb/lldb-private.h"
14
15namespace lldb_private {
16namespace wasm {
17
19public:
20 SymbolVendorWasm(const lldb::ModuleSP &module_sp);
21
22 static void Initialize();
23 static void Terminate();
24 static llvm::StringRef GetPluginNameStatic() { return "WASM"; }
25 static llvm::StringRef GetPluginDescriptionStatic();
26
28 CreateInstance(const lldb::ModuleSP &module_sp,
29 lldb_private::Stream *feedback_strm);
30
31 /// PluginInterface protocol.
32 /// \{
33 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
34 /// \}
35};
36
37} // namespace wasm
38} // namespace lldb_private
39
40#endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H
A stream class that can stream formatted output to a file.
Definition: Stream.h:28
llvm::StringRef GetPluginName() override
PluginInterface protocol.
static llvm::StringRef GetPluginDescriptionStatic()
static llvm::StringRef GetPluginNameStatic()
static lldb_private::SymbolVendor * CreateInstance(const lldb::ModuleSP &module_sp, lldb_private::Stream *feedback_strm)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Module > ModuleSP
Definition: lldb-forward.h:368