forked from OSchip/llvm-project
[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:
parent
ed9df8621a
commit
9d739a9157
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue