diff options
Diffstat (limited to 'contrib/llvm/tools/lld/ELF/OutputSections.h')
-rw-r--r-- | contrib/llvm/tools/lld/ELF/OutputSections.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lld/ELF/OutputSections.h b/contrib/llvm/tools/lld/ELF/OutputSections.h index 0ae3df5f7859..bcda77d1a26d 100644 --- a/contrib/llvm/tools/lld/ELF/OutputSections.h +++ b/contrib/llvm/tools/lld/ELF/OutputSections.h @@ -84,9 +84,14 @@ public: uint32_t getFiller(); template <class ELFT> void writeTo(uint8_t *Buf); template <class ELFT> void finalize(); + template <class ELFT> void maybeCompress(); void assignOffsets(); std::vector<InputSection *> Sections; + // Used for implementation of --compress-debug-sections option. + std::vector<uint8_t> ZDebugHeader; + llvm::SmallVector<char, 1> CompressedData; + // Location in the output buffer. uint8_t *Loc = nullptr; }; |