1 //===-- SymbolVendorELF.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 liblldb_SymbolVendorELF_h_
10 #define liblldb_SymbolVendorELF_h_
11 
12 #include "lldb/Symbol/SymbolVendor.h"
13 #include "lldb/lldb-private.h"
14 
15 class SymbolVendorELF : public lldb_private::SymbolVendor {
16 public:
17   // Constructors and Destructors
18   SymbolVendorELF(const lldb::ModuleSP &module_sp);
19 
20   ~SymbolVendorELF() override;
21 
22   // Static Functions
23   static void Initialize();
24 
25   static void Terminate();
26 
27   static lldb_private::ConstString GetPluginNameStatic();
28 
29   static const char *GetPluginDescriptionStatic();
30 
31   static lldb_private::SymbolVendor *
32   CreateInstance(const lldb::ModuleSP &module_sp,
33                  lldb_private::Stream *feedback_strm);
34 
35   // PluginInterface protocol
36   lldb_private::ConstString GetPluginName() override;
37 
38   uint32_t GetPluginVersion() override;
39 
40 private:
41   DISALLOW_COPY_AND_ASSIGN(SymbolVendorELF);
42 };
43 
44 #endif // liblldb_SymbolVendorELF_h_
45