Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / SymbolVendor / ELF / SymbolVendorELF.h
blob13a1071e38ab03461b8fb8daa1da0c69d89939f0
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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H
12 #include "lldb/Symbol/SymbolVendor.h"
13 #include "lldb/lldb-private.h"
15 class SymbolVendorELF : public lldb_private::SymbolVendor {
16 public:
17 // Constructors and Destructors
18 SymbolVendorELF(const lldb::ModuleSP &module_sp);
20 // Static Functions
21 static void Initialize();
23 static void Terminate();
25 static llvm::StringRef GetPluginNameStatic() { return "ELF"; }
27 static llvm::StringRef GetPluginDescriptionStatic();
29 static lldb_private::SymbolVendor *
30 CreateInstance(const lldb::ModuleSP &module_sp,
31 lldb_private::Stream *feedback_strm);
33 // PluginInterface protocol
34 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
37 #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H