[lld] r270471 - Remove dead code.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 11:08:27 PDT 2016
Author: ruiu
Date: Mon May 23 13:08:27 2016
New Revision: 270471
URL: http://llvm.org/viewvc/llvm-project?rev=270471&view=rev
Log:
Remove dead code.
The dead declarations made MSVC to warn on explicit template
instantiations of the classes.
Modified:
lld/trunk/ELF/OutputSections.h
Modified: lld/trunk/ELF/OutputSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.h?rev=270471&r1=270470&r2=270471&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.h (original)
+++ lld/trunk/ELF/OutputSections.h Mon May 23 13:08:27 2016
@@ -355,8 +355,6 @@ private:
template <class RelTy>
void addSectionAux(EHInputSection<ELFT> *S, llvm::ArrayRef<RelTy> Rels);
- std::vector<SectionPiece> splitInputSection(const EHInputSection<ELFT> *Sec);
-
template <class RelTy>
CieRecord *addCie(SectionPiece &Piece, EHInputSection<ELFT> *Sec,
ArrayRef<RelTy> Rels);
@@ -550,8 +548,6 @@ private:
uint32_t FdeVA;
};
- uintX_t getFdePc(uintX_t EhVA, const FdeData &F);
-
std::vector<FdeData> Fdes;
};
More information about the llvm-commits
mailing list