1 //===-- SymbolVendorWasm.h --------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H
12 #include "lldb/Symbol/SymbolVendor.h"
13 #include "lldb/lldb-private.h"
15 namespace lldb_private
{
18 class SymbolVendorWasm
: public lldb_private::SymbolVendor
{
20 SymbolVendorWasm(const lldb::ModuleSP
&module_sp
);
22 static void Initialize();
23 static void Terminate();
24 static llvm::StringRef
GetPluginNameStatic() { return "WASM"; }
25 static llvm::StringRef
GetPluginDescriptionStatic();
27 static lldb_private::SymbolVendor
*
28 CreateInstance(const lldb::ModuleSP
&module_sp
,
29 lldb_private::Stream
*feedback_strm
);
31 /// PluginInterface protocol.
33 llvm::StringRef
GetPluginName() override
{ return GetPluginNameStatic(); }
38 } // namespace lldb_private
40 #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H