forked from OSchip/llvm-project
[ELF] - Fix one more access to Sections member.
That finally should linux BB after r298345. llvm-svn: 298349
This commit is contained in:
parent
3f7c3df6a4
commit
f56cadd3b3
|
@ -318,7 +318,7 @@ void elf::ObjectFile<ELFT>::initializeSections(
|
|||
// .ARM.exidx sections have a reverse dependency on the InputSection they
|
||||
// have a SHF_LINK_ORDER dependency, this is identified by the sh_link.
|
||||
if (Sec.sh_flags & SHF_LINK_ORDER) {
|
||||
if (Sec.sh_link >= Sections.size())
|
||||
if (Sec.sh_link >= this->Sections.size())
|
||||
fatal(toString(this) + ": invalid sh_link index: " +
|
||||
Twine(Sec.sh_link));
|
||||
this->Sections[Sec.sh_link]->DependentSections.push_back(
|
||||
|
|
Loading…
Reference in New Issue