mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[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
43bb66cc33
commit
a80c1c76ef
@ -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
Block a user