diff options
-rw-r--r-- | lld/ELF/InputSection.h | 10 | ||||
-rw-r--r-- | lld/ELF/OutputSections.h | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h index 621b88ee392..51500c33cc2 100644 --- a/lld/ELF/InputSection.h +++ b/lld/ELF/InputSection.h @@ -322,11 +322,11 @@ public: // OutputSection's InputSection list, and is used when ordering SHF_LINK_ORDER // sections. After assignAddresses is called, it represents the offset from // the beginning of the output section this section was assigned to. - uint64_t OutSecOff = 0;
-
- static bool classof(const SectionBase *S);
-
- InputSectionBase *getRelocatedSection();
+ uint64_t OutSecOff = 0; + + static bool classof(const SectionBase *S); + + InputSectionBase *getRelocatedSection(); template <class ELFT, class RelTy> void relocateNonAlloc(uint8_t *Buf, llvm::ArrayRef<RelTy> Rels); diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 8ac91467188..b2845773e9a 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -111,12 +111,12 @@ public: private: // Used for implementation of --compress-debug-sections option. - std::vector<uint8_t> ZDebugHeader;
- llvm::SmallVector<char, 1> CompressedData;
-
- uint32_t getFiller();
-};
-
+ std::vector<uint8_t> ZDebugHeader; + llvm::SmallVector<char, 1> CompressedData; + + uint32_t getFiller(); +}; + int getPriority(StringRef S); // All output sections that are handled by the linker specially are |