]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / source / Plugins / SymbolVendor / ELF / SymbolVendorELF.h
1 //===-- SymbolVendorELF.h ---------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_SymbolVendorELF_h_
11 #define liblldb_SymbolVendorELF_h_
12
13 // C Includes
14 // C++ Includes
15 // Other libraries and framework includes
16 // Project includes
17 #include "lldb/Symbol/SymbolVendor.h"
18 #include "lldb/lldb-private.h"
19
20 class SymbolVendorELF : public lldb_private::SymbolVendor {
21 public:
22   //------------------------------------------------------------------
23   // Constructors and Destructors
24   //------------------------------------------------------------------
25   SymbolVendorELF(const lldb::ModuleSP &module_sp);
26
27   ~SymbolVendorELF() override;
28
29   //------------------------------------------------------------------
30   // Static Functions
31   //------------------------------------------------------------------
32   static void Initialize();
33
34   static void Terminate();
35
36   static lldb_private::ConstString GetPluginNameStatic();
37
38   static const char *GetPluginDescriptionStatic();
39
40   static lldb_private::SymbolVendor *
41   CreateInstance(const lldb::ModuleSP &module_sp,
42                  lldb_private::Stream *feedback_strm);
43
44   //------------------------------------------------------------------
45   // PluginInterface protocol
46   //------------------------------------------------------------------
47   lldb_private::ConstString GetPluginName() override;
48
49   uint32_t GetPluginVersion() override;
50
51 private:
52   DISALLOW_COPY_AND_ASSIGN(SymbolVendorELF);
53 };
54
55 #endif // liblldb_SymbolVendorELF_h_