[ObjectYAML] - Remove unused function. NFC.

Was introduced in D81005 by mistake.

Catched by BB:
http://lab.llvm.org:8011/builders/clang-ppc64le-rhel/builds/4070/steps/build%20stage%201/logs/stdio
This commit is contained in:
Georgii Rymar 2020-06-04 14:22:06 +03:00
parent ed9df8621a
commit 9d739a9157
1 changed files with 0 additions and 6 deletions

View File

@ -1623,12 +1623,6 @@ DenseMap<StringRef, size_t> ELFState<ELFT>::buildSectionHeaderReorderMap() {
return Ret;
}
static bool hasSectionHeader(const ELFYAML::Object &Doc, size_t SecNdx) {
if (!Doc.SectionHeaders)
return true;
return SecNdx < Doc.SectionHeaders->Sections.size();
}
template <class ELFT> void ELFState<ELFT>::buildSectionIndex() {
// A YAML description can have an explicit section header declaration that
// allows to change the order of section headers.