]> granicus.if.org Git - llvm/commit
[llvm/Object] - Remove ELFFile<ELFT>::getSection(const StringRef SectionName). NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Aug 2019 11:19:28 +0000 (11:19 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Aug 2019 11:19:28 +0000 (11:19 +0000)
commit7c492e24c28d4cef9b6d5b5c10be8df2209b0fad
tree7315d439a7341865197eca985155435da5f2b716
parent8203701920ce91104ef0397e22ea0ae6ed851c67
[llvm/Object] - Remove ELFFile<ELFT>::getSection(const StringRef SectionName). NFC.

This method is dead. It was introduced in D47989,
but now the logic from D63475 is used in llvm-readobj instead.
Also it has a problem: it returns the first matching section,
even if there are multiple sections with the same name.

Differential revision: https://reviews.llvm.org/D65393

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367833 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h