[llvm/Object] - Remove ELFFile<ELFT>::getSection(const StringRef SectionName). NFC.
commitbe6fd0f607b774825103e8a5ac06dcbe68a49c94
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Aug 2019 11:19:28 +0000 (5 11:19 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Aug 2019 11:19:28 +0000 (5 11:19 +0000)
tree7315d439a7341865197eca985155435da5f2b716
parent9d416a5a4194a3a1169aec1f87636f6efaebaca2
[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