brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 13a1071 Raw
38 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H10#define LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H11 12#include "lldb/Symbol/SymbolVendor.h"13#include "lldb/lldb-private.h"14 15class SymbolVendorELF : public lldb_private::SymbolVendor {16public:17  // Constructors and Destructors18  SymbolVendorELF(const lldb::ModuleSP &module_sp);19 20  // Static Functions21  static void Initialize();22 23  static void Terminate();24 25  static llvm::StringRef GetPluginNameStatic() { return "ELF"; }26 27  static llvm::StringRef GetPluginDescriptionStatic();28 29  static lldb_private::SymbolVendor *30  CreateInstance(const lldb::ModuleSP &module_sp,31                 lldb_private::Stream *feedback_strm);32 33  // PluginInterface protocol34  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }35};36 37#endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H38