forked from OSchip/llvm-project
parent
bc3205e7bf
commit
bdcfb178b5
|
@ -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];
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue