ELF: Have __rela_iplt_{start,end} surround .rela.iplt with --pack-dyn-relocs=android.
[llvm-project.git] / lldb / source / Plugins / SymbolVendor / wasm / SymbolVendorWasm.h
blobaf692c6e9e002a425ccf139d238a8b4d9a9c37da
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 //===----------------------------------------------------------------------===//
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 {
16 namespace wasm {
18 class SymbolVendorWasm : public lldb_private::SymbolVendor {
19 public:
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.
32 /// \{
33 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
34 /// \}
37 } // namespace wasm
38 } // namespace lldb_private
40 #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_WASM_SYMBOLVENDORWASM_H