Delete dead code.

llvm-svn: 319403
This commit is contained in:
Rafael Espindola 2017-11-30 05:52:42 +00:00
parent bc3205e7bf
commit bdcfb178b5
2 changed files with 0 additions and 6 deletions

View File

@ -214,10 +214,6 @@ void InputSectionBase::maybeUncompress() {
this->Flags &= ~(uint64_t)SHF_COMPRESSED;
}
uint64_t SectionBase::getOffset(const Defined &Sym) const {
return getOffset(Sym.Value);
}
InputSection *InputSectionBase::getLinkOrderDep() const {
if ((Flags & SHF_LINK_ORDER) && Link != 0) {
InputSectionBase *L = File->getSections()[Link];

View File

@ -73,8 +73,6 @@ public:
// section.
uint64_t getOffset(uint64_t Offset) const;
uint64_t getOffset(const Defined &Sym) const;
protected:
SectionBase(Kind SectionKind, StringRef Name, uint64_t Flags,
uint64_t Entsize, uint64_t Alignment, uint32_t Type,