projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f969b
)
Delete dead code.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Thu, 23 Jul 2015 13:42:16 +0000
(13:42 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Thu, 23 Jul 2015 13:42:16 +0000
(13:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243015
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Object/ELF.h
patch
|
blob
|
history
diff --git
a/include/llvm/Object/ELF.h
b/include/llvm/Object/ELF.h
index 2c3d841553e033145ac470fd61b0a961050be430..4518ffae66175d934a90e41f43d55f250428a7c1 100644
(file)
--- a/
include/llvm/Object/ELF.h
+++ b/
include/llvm/Object/ELF.h
@@
-272,9
+272,6
@@
public:
const Elf_Sym *getSymbol(const Elf_Shdr *Sec, uint32_t Index) const {
return &*(symbol_begin(Sec) + Index);
}
- const Elf_Sym *getSymbol(uint32_t Index) const {
- return getSymbol(dot_symtab_sec, Index);
- }
ErrorOr<StringRef> getSectionName(const Elf_Shdr *Section) const;
ErrorOr<ArrayRef<uint8_t> > getSectionContents(const Elf_Shdr *Sec) const;