LLDB  mainline
SymbolVendorELF.h
Go to the documentation of this file.
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 LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H
11 
13 #include "lldb/lldb-private.h"
14 
16 public:
17  // Constructors and Destructors
18  SymbolVendorELF(const lldb::ModuleSP &module_sp);
19 
20  // Static Functions
21  static void Initialize();
22 
23  static void Terminate();
24 
25  static llvm::StringRef GetPluginNameStatic() { return "ELF"; }
26 
27  static llvm::StringRef GetPluginDescriptionStatic();
28 
30  CreateInstance(const lldb::ModuleSP &module_sp,
31  lldb_private::Stream *feedback_strm);
32 
33  // PluginInterface protocol
34  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
35 };
36 
37 #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H
lldb_private::Stream
Definition: Stream.h:28
SymbolVendorELF::SymbolVendorELF
SymbolVendorELF(const lldb::ModuleSP &module_sp)
Definition: SymbolVendorELF.cpp:31
lldb_private::SymbolVendor
Definition: SymbolVendor.h:31
SymbolVendorELF::Terminate
static void Terminate()
Definition: SymbolVendorELF.cpp:39
SymbolVendorELF::GetPluginNameStatic
static llvm::StringRef GetPluginNameStatic()
Definition: SymbolVendorELF.h:25
SymbolVendorELF::GetPluginName
llvm::StringRef GetPluginName() override
Definition: SymbolVendorELF.h:34
SymbolVendorELF::Initialize
static void Initialize()
Definition: SymbolVendorELF.cpp:34
lldb-private.h
SymbolVendorELF::GetPluginDescriptionStatic
static llvm::StringRef GetPluginDescriptionStatic()
Definition: SymbolVendorELF.cpp:43
SymbolVendorELF
Definition: SymbolVendorELF.h:15
SymbolVendorELF::CreateInstance
static lldb_private::SymbolVendor * CreateInstance(const lldb::ModuleSP &module_sp, lldb_private::Stream *feedback_strm)
Definition: SymbolVendorELF.cpp:54
SymbolVendor.h