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
12#include "lldb/Symbol/SymbolVendor.h"
13#include "lldb/lldb-private.h"
14
15namespace lldb_private {
16namespace wasm {
17
18class SymbolVendorWasm : public lldb_private::SymbolVendor {
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
27 static lldb_private::SymbolVendor *
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
41

source code of lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h