• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
15 namespace lldb_private {
16 namespace wasm {
17 
18 class SymbolVendorWasm : public lldb_private::SymbolVendor {
19 public:
20   SymbolVendorWasm(const lldb::ModuleSP &module_sp);
21 
22   static void Initialize();
23   static void Terminate();
24   static lldb_private::ConstString GetPluginNameStatic();
25   static const char *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   lldb_private::ConstString GetPluginName() override;
34   uint32_t GetPluginVersion() override;
35   /// \}
36 };
37 
38 } // namespace wasm
39 } // namespace lldb_private
40 
41 #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H
42