[Lldb-commits] [lldb] 98c940b - [NFC] [lldb] Remove unused declaration
Jan Kratochvil via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 11 06:00:30 PST 2020
Author: Jan Kratochvil
Date: 2020-02-11T14:59:52+01:00
New Revision: 98c940bf515831420b8b53489dd4f9a4fc8a40ad
URL: https://github.com/llvm/llvm-project/commit/98c940bf515831420b8b53489dd4f9a4fc8a40ad
DIFF: https://github.com/llvm/llvm-project/commit/98c940bf515831420b8b53489dd4f9a4fc8a40ad.diff
LOG: [NFC] [lldb] Remove unused declaration
ObjectFileELF::GetSectionIndexByType declaration without definition was
added by commit 17220c188635721e948cf02d2b6ad36b267ea393.
Added:
Modified:
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
index 3b273896cb59..d3f620385d97 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
@@ -328,9 +328,6 @@ class ObjectFileELF : public lldb_private::ObjectFile {
/// section index 0 is never valid).
lldb::user_id_t GetSectionIndexByName(const char *name);
- // Returns the ID of the first section that has the given type.
- lldb::user_id_t GetSectionIndexByType(unsigned type);
-
/// Returns the section header with the given id or NULL.
const ELFSectionHeaderInfo *GetSectionHeaderByIndex(lldb::user_id_t id);
More information about the lldb-commits
mailing list