Rename EHInputSection -> EhInputSection.
llvm-svn: 270532
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 765f7db..e2a33a9 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -913,7 +913,7 @@
template <class ELFT>
void EhOutputSection<ELFT>::forEachInputSection(
std::function<void(InputSectionBase<ELFT> *)> F) {
- for (EHInputSection<ELFT> *S : Sections)
+ for (EhInputSection<ELFT> *S : Sections)
F(S);
}
@@ -936,7 +936,7 @@
template <class ELFT>
template <class RelTy>
CieRecord *EhOutputSection<ELFT>::addCie(SectionPiece &Piece,
- EHInputSection<ELFT> *Sec,
+ EhInputSection<ELFT> *Sec,
ArrayRef<RelTy> Rels) {
const endianness E = ELFT::TargetEndianness;
if (read32<E>(Piece.Data.data() + 4) != 0)
@@ -970,7 +970,7 @@
template <class ELFT>
template <class RelTy>
bool EhOutputSection<ELFT>::isFdeLive(SectionPiece &Piece,
- EHInputSection<ELFT> *Sec,
+ EhInputSection<ELFT> *Sec,
ArrayRef<RelTy> Rels) {
const RelTy *Rel = getReloc(Piece.InputOff, Piece.size(), Rels);
if (!Rel)
@@ -989,7 +989,7 @@
// one and associates FDEs to the CIE.
template <class ELFT>
template <class RelTy>
-void EhOutputSection<ELFT>::addSectionAux(EHInputSection<ELFT> *Sec,
+void EhOutputSection<ELFT>::addSectionAux(EhInputSection<ELFT> *Sec,
ArrayRef<RelTy> Rels) {
SectionPiece &CiePiece = Sec->Pieces[0];
CieRecord *Cie = addCie(CiePiece, Sec, Rels);
@@ -1006,7 +1006,7 @@
template <class ELFT>
void EhOutputSection<ELFT>::addSection(InputSectionBase<ELFT> *C) {
- auto *Sec = cast<EHInputSection<ELFT>>(C);
+ auto *Sec = cast<EhInputSection<ELFT>>(C);
Sec->OutSec = this;
this->updateAlign(Sec->Align);
Sections.push_back(Sec);
@@ -1105,7 +1105,7 @@
}
}
- for (EHInputSection<ELFT> *S : Sections)
+ for (EhInputSection<ELFT> *S : Sections)
S->relocate(Buf, nullptr);
// Construct .eh_frame_hdr. .eh_frame_hdr is a binary search table